some sites break when u strip /

master
Aevann 2023-08-14 00:51:23 +03:00
parent 6631eb6225
commit 74a112ba98
1 changed files with 0 additions and 2 deletions

View File

@ -780,8 +780,6 @@ def normalize_url(url):
fragment=parsed_url.fragment)
url = urlunparse(new_url)
url = url.rstrip('/')
url = imgur_regex.sub(r'\1_d.webp?maxwidth=9999&fidelity=grand', url)
return url