mirror of
https://github.com/evilhero/mylar
synced 2025-02-02 04:21:43 +00:00
FIX:(#1018) Invalid URL being passed for download (another attenpt)
This commit is contained in:
parent
2ce9f613f6
commit
12423e9d9e
1 changed files with 2 additions and 2 deletions
|
@ -1662,16 +1662,16 @@ def searcher(nzbprov, nzbname, comicinfo, link, IssueID, ComicID, tmpprov, direc
|
|||
|
||||
apikey = newznab[2].rstrip()
|
||||
down_url = host_newznab_fix + 'api'
|
||||
verify = False
|
||||
else:
|
||||
down_url = 'https://api.nzb.su/api?'
|
||||
apikey = mylar.NZBSU_APIKEY
|
||||
verify = True #unsure if verify should be set to True for nzb.su or not.
|
||||
|
||||
payload = {'t': 'get',
|
||||
'id': str(nzbid),
|
||||
'apikey': str(apikey)}
|
||||
|
||||
verify = False #unsure if verify should be set to True for nzb.su or not.
|
||||
|
||||
logger.info('payload:' + str(payload))
|
||||
|
||||
elif nzbprov == 'dognzb':
|
||||
|
|
Loading…
Reference in a new issue