debug /s/ replacement

master
Aevann 2024-10-27 23:07:15 +03:00
parent 0959711bfd
commit 6ff73339af
1 changed files with 1 additions and 2 deletions

View File

@ -837,8 +837,7 @@ def normalize_url(url):
return url.rstrip('=')
def normalize_url_gevent(url):
try: req = requests.get(url, headers=HEADERS, timeout=5, proxies=proxies)
except: return url
req = requests.get(url, headers=HEADERS, timeout=5, proxies=proxies)
return normalize_url(req.url)
def validate_css(css):