logo

searx

My custom branche(s) on searx, a meta-search engine
commit: e7d90b8e86a30db41b040ccf608a16be7d75a8bc
parent: 833ac042324ce7ea733bc980ed746d93a1abdc4e
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Fri, 23 Jan 2015 11:50:51 +0100

Merge pull request #200 from Cqoicebordel/bing-date

Change the cookie in bing_news to use the english interface

Diffstat:

Msearx/engines/bing_news.py3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py @@ -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