forked from MarseyWorld/MarseyWorld
increase timeout to prevent crashes
parent
e2955ff22b
commit
8ab3a41118
|
@ -815,7 +815,7 @@ def normalize_url(url):
|
||||||
return url.rstrip('=')
|
return url.rstrip('=')
|
||||||
|
|
||||||
def normalize_url_gevent(url):
|
def normalize_url_gevent(url):
|
||||||
req = requests.get(url, headers=HEADERS, timeout=2, proxies=proxies)
|
req = requests.get(url, headers=HEADERS, timeout=5, proxies=proxies)
|
||||||
return normalize_url(req.url)
|
return normalize_url(req.url)
|
||||||
|
|
||||||
def validate_css(css):
|
def validate_css(css):
|
||||||
|
|
Loading…
Reference in New Issue