mirror of https://github.com/searx/searx
Merge branch 'master' into update_data_update_wikidata_units.py
This commit is contained in:
commit
3ca5ce02f8
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
"versions": [
|
||||
"99.0.1",
|
||||
"99.0",
|
||||
"98.0.2",
|
||||
"98.0.1",
|
||||
"98.0"
|
||||
"102.0",
|
||||
"101.0.1",
|
||||
"101.0"
|
||||
],
|
||||
"os": [
|
||||
"Windows NT 10.0; WOW64",
|
||||
|
|
|
@ -52,7 +52,8 @@ def request(query, params):
|
|||
offset=offset)
|
||||
|
||||
params['url'] = base_url + search_path
|
||||
params['headers']['User-Agent'] = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36'
|
||||
params['headers']['User-Agent'] = ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
|
||||
'(KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36')
|
||||
|
||||
return params
|
||||
|
||||
|
|
Loading…
Reference in New Issue