FIX: Fix for search links returning an invalid id

This commit is contained in:
evilhero 2018-02-16 16:04:52 -05:00
parent 0ff38c164e
commit 17f8c8d72b
1 changed files with 5 additions and 2 deletions

View File

@ -1701,8 +1701,11 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa
continue
#generate the send-to and actually send the nzb / torrent.
#logger.info('entry: %s' % entry)
links = {'id': entry['id'],
'link': entry['link']}
try:
links = {'id': entry['id'],
'link': entry['link']}
except:
links = entry['link']
searchresult = searcher(nzbprov, nzbname, mylar.COMICINFO, links, IssueID, ComicID, tmpprov, newznab=newznab_host)
if searchresult == 'downloadchk-fail':