forked from zaclys/searxng
Merge pull request #200 from Cqoicebordel/bing-date
Change the cookie in bing_news to use the english interface
This commit is contained in:
commit
e7d90b8e86
|
@ -39,8 +39,7 @@ def request(query, params):
|
|||
query=urlencode({'q': query, 'setmkt': language}),
|
||||
offset=offset)
|
||||
|
||||
params['cookies']['SRCHHPGUSR'] = \
|
||||
'NEWWND=0&NRSLT=-1&SRCHLANG=' + language.split('-')[0]
|
||||
params['cookies']['_FP'] = "ui=en-US"
|
||||
|
||||
params['url'] = base_url + search_path
|
||||
return params
|
||||
|
|
Loading…
Reference in New Issue