forked from zaclys/searxng
[fix[ Update only cookies/headers
This commit is contained in:
parent
67fb6fba84
commit
dae8a08089
@ -171,8 +171,8 @@ def request(query, params):
|
||||
'safe_search': safe_search,
|
||||
}
|
||||
|
||||
params['cookies'] = cookies
|
||||
params['headers'] = headers
|
||||
params['cookies'].update(cookies)
|
||||
params['headers'].update(headers)
|
||||
|
||||
params['url'] = search_url.format(**fargs)
|
||||
params['soft_max_redirects'] = soft_max_redirects
|
||||
|
Loading…
Reference in New Issue
Block a user