remove kf replacing

master
Aevann1 2022-09-12 13:59:49 +02:00
parent 3425da05e3
commit b3d2fca506
1 changed files with 1 additions and 2 deletions

View File

@ -446,8 +446,7 @@ def normalize_url(url):
.replace("https://streamable.com/", "https://streamable.com/e/") \
.replace("https://streamable.com/e/e/", "https://streamable.com/e/") \
.replace("https://search.marsey.cat/#", "https://camas.unddit.com/#") \
.replace("https://imgur.com/", "https://i.imgur.com/") \
.replace("https://kiwifarms.net/", "https://kiwifarms.ru/")
.replace("https://imgur.com/", "https://i.imgur.com/")
url = imgur_regex.sub(r'\1_d.webp?maxwidth=9999&fidelity=high', url)
url = giphy_regex.sub(r'\1.webp', url)