master
Aevann 2024-04-06 08:55:12 +02:00
parent 422e759f19
commit 512c5f73c7
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ def normalize_url(url):
url = imgur_regex.sub(r'\1_d.webp?maxwidth=9999&fidelity=grand', url)
if url.startswith('https://twitter.com/'):
url = url.split('/mediaviewer')[0]
url = url.split('/mediaViewer')[0]
return url.rstrip('=')