Merge branch 'hotfix/3.30.3'

This commit is contained in:
JackDandy 2023-10-10 07:29:59 +01:00
commit 13c4cd8033
2 changed files with 11 additions and 3 deletions

View file

@ -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

View file

@ -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()