stop using 200w since it makes reading text in gifs impossible unless u expand

master
Aevann 2023-06-07 22:47:14 +03:00
parent eb2d5964bc
commit 7e260a8740
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_emojis=
tag = tag.replace_with(a)
a.append(tag)
tag["data-src"] = tag["data-src"].replace('/giphy.webp', '/200w.webp')
tag["data-src"] = tag["data-src"]
sanitized = str(soup).replace('<html><body>','').replace('</body></html>','').replace('/>','>')