mirror of
https://github.com/searx/searx
synced 2025-03-02 10:37:55 +01:00
fix pylint error in bing engine
This commit is contained in:
parent
a3ad9f9b34
commit
7bb499cb1e
@ -52,7 +52,8 @@ def request(query, params):
|
|||||||
offset=offset)
|
offset=offset)
|
||||||
|
|
||||||
params['url'] = base_url + search_path
|
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
|
return params
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user