From 6ff73339afa8e01d6e806b088c88dc2be1362741 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 27 Oct 2024 23:07:15 +0300 Subject: [PATCH] debug /s/ replacement --- files/helpers/sanitize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 0923a5a26..ef6b2849d 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -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):