diff --git a/CHANGES.md b/CHANGES.md index becef125..2d02d44d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,11 @@ * Add support for Brotli compression +### 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 diff --git a/sickgear/config.py b/sickgear/config.py index 262219db..7c352832 100644 --- a/sickgear/config.py +++ b/sickgear/config.py @@ -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()