From 9439d1804e3571fa5b91b95805482c78374ab652 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 6 Mar 2025 10:14:10 +0100 Subject: [PATCH] [fix] Google suspended: too many requests (interim solution) For an interim solution a static arc_id:srp_zF_JZ_ehGr-L7M8Po-jhgQE_120 is added to the `async` argument. Related: - https://github.com/searxng/searxng/issues/4435#issuecomment-2703224214 Signed-off-by: Markus Heiser --- searx/engines/google.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/searx/engines/google.py b/searx/engines/google.py index 9fd037a4f..e5755f422 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -67,7 +67,9 @@ suggestion_xpath = '//div[contains(@class, "EIaa9b")]//a' # UI_ASYNC = 'use_ac:true,_fmt:html' # returns a HTTP 500 when user search for # # celebrities like '!google natasha allegri' # # or '!google chris evans' -UI_ASYNC = 'use_ac:true,_fmt:prog' +# +# for interim solution a static arc_id:srp_zF_JZ_ehGr-L7M8Po-jhgQE_120 is added: +UI_ASYNC = 'arc_id:srp_zF_JZ_ehGr-L7M8Po-jhgQE_120,use_ac:true,_fmt:prog' """Format of the response from UI's async request."""