forked from MarseyWorld/MarseyWorld
some sites break when u strip /
parent
6631eb6225
commit
74a112ba98
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue