diff options
author | Austin-Olacsi <138650713+Austin-Olacsi@users.noreply.github.com> | 2024-03-29 02:42:51 -0600 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-04-08 07:50:14 +0200 |
commit | b6fe2cad719e80a3a9c3700a46ad2a5d7342f1b4 (patch) | |
tree | 52fb5664774f519e0694d5ec67e12fc8dbf28cea /searx | |
parent | bf3845b0931b0a528e76d233802c3b196867641d (diff) | |
download | searxng-b6fe2cad719e80a3a9c3700a46ad2a5d7342f1b4.tar.gz searxng-b6fe2cad719e80a3a9c3700a46ad2a5d7342f1b4.zip |
[mod] Ask engine: remove tracking paramaters and set max page to 5
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/ask.py | 3 |
1 files changed, 2 insertions, 1 deletions
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, |