From 8df50c6cdfe6b5d886fcecfbfbafb752bdc1d49f Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Thu, 1 Feb 2018 01:06:24 +0100 Subject: [PATCH] Change remove some non-release group stuff from newnab results. --- CHANGES.md | 1 + sickbeard/providers/newznab.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index d92326dd..9cc9b8e6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -89,6 +89,7 @@ * Add 'local_datetime' to comming eps + runtime * Add X-Filename response header to getbanner, getposter * Add X-Fanartname response header for sg.show.getfanart +* Change remove some non-release group stuff from newnab results [develop changelog] diff --git a/sickbeard/providers/newznab.py b/sickbeard/providers/newznab.py index d1e18f1d..facd5e8a 100755 --- a/sickbeard/providers/newznab.py +++ b/sickbeard/providers/newznab.py @@ -450,7 +450,8 @@ class NewznabProvider(generic.NZBProvider): r_found = True while r_found: r_found = False - for pattern, repl in ((r'(?i)-Obfuscated$', ''), (r'(?i)-postbot$', ''), (r'(?i)[-.]English$', '')): + for pattern, repl in ((r'(?i)-Scrambled$', ''), (r'(?i)-BUYMORE$', ''), (r'(?i)-Obfuscated$', ''), + (r'(?i)-postbot$', ''), (r'(?i)[-.]English$', '')): if re.search(pattern, title): r_found = True title = re.sub(pattern, repl, title)