1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-26 01:26:50 +00:00

FIX:(#1296) Incorrect URL being returned with using NZBHydra

This commit is contained in:
evilhero 2016-06-06 11:03:44 -04:00
parent 6ae316c931
commit 5431908c83

View file

@ -1895,7 +1895,7 @@ def searcher(nzbprov, nzbname, comicinfo, link, IssueID, ComicID, tmpprov, direc
host_newznab_fix = host_newznab
#account for nzbmegasearch & nzbhydra
if 'warp?x=' in link or 'indexerguid' in link:
if 'warp?x=' in link or 'searchresultid' in link:
logger.fdebug('NZBMegaSearch / NZBHydra url detected. Adjusting...')
nzbmega = True
else:
@ -1909,7 +1909,7 @@ def searcher(nzbprov, nzbname, comicinfo, link, IssueID, ComicID, tmpprov, direc
if nzbmega == True:
down_url = link
verify = False
verify = False
else:
payload = {'t': 'get',
'id': str(nzbid),