1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-23 08:12:41 +00:00

FIX: When series contained an exclamation mark, would not match during post-processing/file-checking, FIX: Removed some unnecessary logging lines regarding rss results

This commit is contained in:
evilhero 2016-04-30 11:56:01 -04:00
parent 5183b87be2
commit fad91809d3
2 changed files with 1 additions and 4 deletions

View file

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

View file

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