same as last commit

pull/219/head
Aevann 2023-12-18 22:17:59 +02:00
parent 28bdf0b2c9
commit f8965c5b54
1 changed files with 4 additions and 3 deletions

View File

@ -808,9 +808,10 @@ def normalize_url(url):
return url.rstrip('=')
def normalize_url_gevent(url):
url = requests.get(url, headers=HEADERS, timeout=2).url
print(url, flush=True)
return normalize_url(url)
x = requests.get(url, headers=HEADERS, timeout=2)
print(x, flush=True)
print(x.url, flush=True)
return normalize_url(x.url)
def validate_css(css):
if '@import' in css: