diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-26 06:39:44 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-26 06:39:44 +0200 |
commit | c72d70d45c5a9d7ed2e884db90ec6b84135f31a9 (patch) | |
tree | 5c2a5357bfc6cd65bf87a4faede0f476c6474e41 /searx/engines/google.py | |
parent | 950f036c038db8a6af34d5e47f91f590ac517e45 (diff) | |
download | searxng-c72d70d45c5a9d7ed2e884db90ec6b84135f31a9.tar.gz searxng-c72d70d45c5a9d7ed2e884db90ec6b84135f31a9.zip |
Revert "Quick fix for google engine for EU countries"
This reverts commit 747cf1a246df587aeb3b6b175c315ef0b9612dc4.
Diffstat (limited to 'searx/engines/google.py')
-rw-r--r-- | searx/engines/google.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google.py b/searx/engines/google.py index e54699081..0d116db9f 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -287,7 +287,6 @@ def request(query, params): 'oe': "utf8", 'start': offset, 'filter': '0', - 'ucbcb': 1, **additional_parameters, } ) @@ -299,6 +298,7 @@ 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'] = '*/*' |