1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-01 09:00:15 +02:00

[fix[ Update only cookies/headers

This commit is contained in:
Allen 2022-04-17 11:29:23 +02:00 committed by GitHub
parent 67fb6fba84
commit dae8a08089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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