increase timeout to prevent crashes

master
Aevann 2024-05-22 20:25:13 +03:00
parent e2955ff22b
commit 8ab3a41118
1 changed files with 1 additions and 1 deletions

View File

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