From 747cf1a246df587aeb3b6b175c315ef0b9612dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20Devos?= Date: Mon, 25 Jul 2022 20:48:50 +0000 Subject: [PATCH] Quick fix for google engine for EU countries This revert part of the commit of https://github.com/searxng/searxng/commit/5fb2071cb2248c0f0ada7affb0c47f841ddbf102 --- searx/engines/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/google.py b/searx/engines/google.py index 1c38ba34..4468558a 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -287,6 +287,7 @@ def request(query, params): 'oe': "utf8", 'start': offset, 'filter': '0', + 'ucbcb': 1, **additional_parameters, } ) @@ -298,7 +299,6 @@ def request(query, params): query_url += '&' + urlencode({'safe': filter_mapping[params['safesearch']]}) params['url'] = query_url - params['cookies']['CONSENT'] = "YES+" params['headers'].update(lang_info['headers']) if use_mobile_ui: params['headers']['Accept'] = '*/*'