From 7a4df417cb5377ade0f1816212e25858d838bd0b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 5 Oct 2023 16:23:15 +0300 Subject: [PATCH] replace DONATE_LINK --- files/helpers/sanitize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 96acee010b..66f7092c55 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -790,6 +790,7 @@ def normalize_url(url): .replace('/amp/', '/') \ .replace('https://letmegooglethat.com/?q=', 'https://google.com/search?q=') \ .replace('https://lmgtfy.app/?q=', 'https://google.com/search?q=') \ + .replace(DONATE_LINK, f'{SITE_FULL}/donate') \ if url.endswith('.amp'): url = url.split('.amp')[0]