FIX:(#1018) Invalid URL being passed for download (another attenpt)

This commit is contained in:
evilhero 2015-05-18 17:03:59 -04:00
parent 2ce9f613f6
commit 12423e9d9e
1 changed files with 2 additions and 2 deletions

View File

@ -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':