From 3e7d558a77d8416bac772ffbd7d3857876ceeb37 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 13 Sep 2023 19:35:10 +0300 Subject: [PATCH] letmegooglethat.com & lmgtfy.app > google.com --- files/helpers/sanitize.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 6fb3e4ca1..df44cbc27 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -766,6 +766,8 @@ def normalize_url(url): .replace('https://amp.', 'https://') \ .replace('https://cnn.com/cnn/', 'https://edition.cnn.com/') \ .replace('/amp/', '/') \ + .replace('https://letmegooglethat.com/?q=', 'https://google.com/search?q=') \ + .replace('https://lmgtfy.app/?q=', 'https://google.com/search?q=') \ if url.endswith('.amp'): url = url.split('.amp')[0]