From b3d2fca5062d692febff196f4e0d5cd6e4431be9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 12 Sep 2022 13:59:49 +0200 Subject: [PATCH] remove kf replacing --- files/helpers/sanitize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index be0313092..c6591fbad 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -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)