mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
parent
c07745d79c
commit
8570a6bfc8
7 changed files with 28 additions and 24 deletions
|
@ -58,7 +58,7 @@ class autoProcessComics:
|
|||
|
||||
logger.debug("Opening URL: %s" % (url), section)
|
||||
try:
|
||||
r = requests.get(url, auth=(username, password), params=params, stream=True, verify=False)
|
||||
r = requests.get(url, auth=(username, password), params=params, stream=True, verify=False, timeout=(30, 300))
|
||||
except requests.ConnectionError:
|
||||
logger.error("Unable to open URL", section)
|
||||
return [1, "%s: Failed to post-process - Unable to connect to %s" % (section, section) ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue