mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-18 08:43:37 +00:00
Change bad anon redirect service for an open source service.
This commit is contained in:
parent
74cbdfbb88
commit
d5815b4471
2 changed files with 11 additions and 3 deletions
|
@ -1,4 +1,9 @@
|
|||
### 3.30.2 (2023-10-08 02:00:00 UTC)
|
||||
### 3.30.3 (2023-10-10 07:30:00 UTC)
|
||||
|
||||
* Change bad anon redirect service for an open source service
|
||||
|
||||
|
||||
### 3.30.2 (2023-10-08 02:00:00 UTC)
|
||||
|
||||
* Update UnRar x64 for Windows 6.23 to 6.24
|
||||
|
||||
|
|
|
@ -543,6 +543,7 @@ class ConfigMigrator(object):
|
|||
20: 'Change Growl',
|
||||
21: 'Rename vars misusing frequency',
|
||||
22: 'Change Anonymous redirect',
|
||||
23: 'Change Anonymous redirect',
|
||||
}
|
||||
|
||||
def migrate_config(self):
|
||||
|
@ -586,8 +587,8 @@ class ConfigMigrator(object):
|
|||
"""
|
||||
Change deprecated anon redirect service URLs
|
||||
"""
|
||||
if re.search(r'https?://(?:nullrefer.com|dereferer.org)', sickgear.ANON_REDIRECT):
|
||||
sickgear.ANON_REDIRECT = r'https://anonymz.com/?'
|
||||
if re.search(r'https?://(?:nullrefer.com|dereferer.org|derefer.me)', sickgear.ANON_REDIRECT):
|
||||
sickgear.ANON_REDIRECT = r'https://nosplash.open-dereferrer.com/?'
|
||||
|
||||
# Migration v1: Custom naming
|
||||
def _migrate_v1(self):
|
||||
|
@ -980,3 +981,5 @@ class ConfigMigrator(object):
|
|||
def _migrate_v22(self):
|
||||
self.deprecate_anon_service()
|
||||
|
||||
def _migrate_v23(self):
|
||||
self.deprecate_anon_service()
|
||||
|
|
Loading…
Reference in a new issue