mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Updated requests lib.
More code cleanup done.
This commit is contained in:
parent
504ea8ac45
commit
086eaaa516
19 changed files with 347 additions and 123 deletions
|
@ -43,7 +43,7 @@ class autoProcessGames:
|
|||
|
||||
nzbName, dirName = convert_to_ascii(nzbName, dirName)
|
||||
|
||||
baseURL = protocol + host + ":" + port + web_root + "/api"
|
||||
url = "%s%s:%s%s/api" % (protocol, host, port, web_root)
|
||||
|
||||
fields = nzbName.split("-")
|
||||
|
||||
|
@ -59,8 +59,6 @@ class autoProcessGames:
|
|||
params['db_id'] = gamezID
|
||||
params['status'] = downloadStatus
|
||||
|
||||
url = baseURL
|
||||
|
||||
logger.debug("Opening URL: %s", url)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue