forked from Ponysearch/Ponysearch
Quick fix for google engine for EU countries
This revert part of the commit of 5fb2071cb2
This commit is contained in:
parent
7fab950284
commit
747cf1a246
1 changed files with 1 additions and 1 deletions
|
@ -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'] = '*/*'
|
||||
|
|
Loading…
Reference in a new issue