mirror of
https://github.com/evilhero/mylar
synced 2024-12-24 16:51:42 +00:00
FIX:(#91) Covers only would get downloaded - min/max size restrictions only work for Experimental atm. Will now remove 'Covers only' based on filename
This commit is contained in:
parent
e7c05c5a73
commit
71b9dc8e5b
1 changed files with 6 additions and 1 deletions
|
@ -410,8 +410,13 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr, Is
|
|||
|
||||
nzbname = cleantitle
|
||||
|
||||
|
||||
#adjust for covers only by removing them entirely...
|
||||
logger.fdebug("Cleantitle: " + str(cleantitle))
|
||||
if len(re.findall('[^()]+', cleantitle)) == 1: cleantitle = "abcdefghijk 0 (1901).cbz"
|
||||
if len(re.findall('[^()]+', cleantitle)) == 1 or 'cover only' in cleantitle.lower():
|
||||
logger.fdebug("invalid nzb and/or cover only - skipping.")
|
||||
cleantitle = "abcdefghijk 0 (1901).cbz"
|
||||
continue
|
||||
#----size constraints.
|
||||
#if it's not within size constaints - dump it now and save some time.
|
||||
# logger.fdebug("size : " + str(entry['size']))
|
||||
|
|
Loading…
Reference in a new issue