dont use proxy here cuz its times out

pull/216/head
Aevann 2023-10-24 18:14:27 +03:00
parent 9ad3eb1fcd
commit 772721fdbc
1 changed files with 1 additions and 4 deletions

View File

@ -800,10 +800,7 @@ def normalize_url(url):
return url
def normalize_url_gevent(url):
try: url = requests.get(url, headers=HEADERS, timeout=2, proxies=proxies).url
except Exception as e:
print(f"{url}: {e}", flush=True)
return url
url = requests.get(url, headers=HEADERS, timeout=2).url
return normalize_url(url)
def validate_css(css):