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:
parent
6ae316c931
commit
5431908c83
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue