From b6fe2cad719e80a3a9c3700a46ad2a5d7342f1b4 Mon Sep 17 00:00:00 2001 From: Austin-Olacsi <138650713+Austin-Olacsi@users.noreply.github.com> Date: Fri, 29 Mar 2024 02:42:51 -0600 Subject: [PATCH] [mod] Ask engine: remove tracking paramaters and set max page to 5 --- searx/engines/ask.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searx/engines/ask.py b/searx/engines/ask.py index 2f2ce4e51..3366ee5d0 100644 --- a/searx/engines/ask.py +++ b/searx/engines/ask.py @@ -19,6 +19,7 @@ about = { # Engine Configuration categories = ['general'] paging = True +max_page = 5 # Base URL base_url = "https://www.ask.com/web" @@ -61,7 +62,7 @@ def response(resp): results.append( { - "url": item['url'], + "url": item['url'].split('&ueid')[0], "title": item['title'], "content": item['abstract'], "publishedDate": pubdate_original,