unquote url after normalizing too (some forums have the path inside a query parameter and quoting breaks their links)
https://rdrama.net/search/posts/?q=%3Fforumspull/217/head
parent
0e1cd701a2
commit
39123997f0
|
@ -797,6 +797,8 @@ def normalize_url(url):
|
|||
|
||||
url = imgur_regex.sub(r'\1_d.webp?maxwidth=9999&fidelity=grand', url)
|
||||
|
||||
url = unquote(url).rstrip('=')
|
||||
|
||||
return url
|
||||
|
||||
def normalize_url_gevent(url):
|
||||
|
|
Loading…
Reference in New Issue