forked from Ponysearch/Ponysearch
[fix[ Update only cookies/headers
This commit is contained in:
parent
67fb6fba84
commit
dae8a08089
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue