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:
parent
5183b87be2
commit
fad91809d3
2 changed files with 1 additions and 4 deletions
|
@ -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']
|
||||
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue