mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 02:40:11 +01:00
Revert "Quick fix for google engine for EU countries"
This reverts commit 747cf1a246
.
This commit is contained in:
parent
950f036c03
commit
c72d70d45c
@ -287,7 +287,6 @@ def request(query, params):
|
|||||||
'oe': "utf8",
|
'oe': "utf8",
|
||||||
'start': offset,
|
'start': offset,
|
||||||
'filter': '0',
|
'filter': '0',
|
||||||
'ucbcb': 1,
|
|
||||||
**additional_parameters,
|
**additional_parameters,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@ -299,6 +298,7 @@ def request(query, params):
|
|||||||
query_url += '&' + urlencode({'safe': filter_mapping[params['safesearch']]})
|
query_url += '&' + urlencode({'safe': filter_mapping[params['safesearch']]})
|
||||||
params['url'] = query_url
|
params['url'] = query_url
|
||||||
|
|
||||||
|
params['cookies']['CONSENT'] = "YES+"
|
||||||
params['headers'].update(lang_info['headers'])
|
params['headers'].update(lang_info['headers'])
|
||||||
if use_mobile_ui:
|
if use_mobile_ui:
|
||||||
params['headers']['Accept'] = '*/*'
|
params['headers']['Accept'] = '*/*'
|
||||||
|
Loading…
Reference in New Issue
Block a user