From 412677d495f80b7992bc323f1a146da7e6b5134c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 21 Jun 2021 16:09:16 +0200 Subject: [PATCH] [mod] google engine: reduce mobile UI parameters to what is needed Reverse engineering shows that not all of the parameters used by google's mobile UI (aka "more results" button) are needed [1]. [1] https://github.com/searxng/searxng/pull/160#issuecomment-865013625 Signed-off-by: Markus Heiser --- searx/engines/google.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/searx/engines/google.py b/searx/engines/google.py index dc94fe7d..a4ddccfe 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -210,8 +210,7 @@ def request(query, params): additional_parameters = {} if use_mobile_ui: additional_parameters = { - 'asearch': "arc", - 'async': 'arc_id:srp_510,ffilt:all,ve_name:MoreResultsContainer,next_id:srp_5,use_ac:true,_id:arc-srp_510,_pms:qs,_fmt:pc' # pylint: disable=line-too-long + 'async': 'use_ac:true,_fmt:pc', } # https://www.google.de/search?q=corona&hl=de&lr=lang_de&start=0&tbs=qdr%3Ad&safe=medium