From fad91809d32418a957bf0a5353f8cbad324e6be5 Mon Sep 17 00:00:00 2001 From: evilhero Date: Sat, 30 Apr 2016 11:56:01 -0400 Subject: [PATCH] FIX: When series contained an exclamation mark, would not match during post-processing/file-checking, FIX: Removed some unnecessary logging lines regarding rss results --- mylar/filechecker.py | 2 +- mylar/rsscheck.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/mylar/filechecker.py b/mylar/filechecker.py index 9548adcf..b911a7cc 100755 --- a/mylar/filechecker.py +++ b/mylar/filechecker.py @@ -91,7 +91,7 @@ class FileChecker(object): self.failed_files = [] - self.dynamic_handlers = ['/','-',':','\'',',','&','?'] + self.dynamic_handlers = ['/','-',':','\'',',','&','?','!'] self.dynamic_replacements = ['and','the'] self.rippers = ['-empire','-empire-hd','minutemen-','-dcp'] diff --git a/mylar/rsscheck.py b/mylar/rsscheck.py index a2d49cf0..7436485e 100755 --- a/mylar/rsscheck.py +++ b/mylar/rsscheck.py @@ -123,7 +123,6 @@ def torrents(pickfeed=None, seriesname=None, issue=None, feedinfo=None): if pickfeed != '4': payload = None - logger.info('Feed:' + str(feed)) try: r = requests.get(feed, params=payload, verify=verify) except Exception, e: @@ -131,7 +130,6 @@ def torrents(pickfeed=None, seriesname=None, issue=None, feedinfo=None): return feedme = feedparser.parse(r.content) - #feedme = feedparser.parse(feed) i = 0 @@ -156,7 +154,6 @@ def torrents(pickfeed=None, seriesname=None, issue=None, feedinfo=None): i += 1 else: for entry in feedme['entries']: - logger.info(entry) if any([pickfeed == "3", pickfeed == "6"]): tmpsz = feedme.entries[i].enclosures[0] feeddata.append({