forked from rDrama/rDrama
1
0
Fork 0

Restore behavior useful for repost-checking

This reverts commit 74a112ba98.
master
Aevann 2023-08-20 19:41:11 +03:00
parent 55cf899e6c
commit deaba5e779
1 changed files with 2 additions and 0 deletions

View File

@ -778,6 +778,8 @@ 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