logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 17b08d096c5d7823799cdd6eab7fe67ef9941f9f
parent: 16ff8d06c73d3e0ec784e8c9a1fb38b36a95d8fb
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Mon,  7 Nov 2016 22:33:17 +0100

[fix] unicode search expression for bing

Diffstat:

Msearx/engines/bing.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/engines/bing.py b/searx/engines/bing.py @@ -33,7 +33,7 @@ def request(query, params): offset = (params['pageno'] - 1) * 10 + 1 if params['language'] != 'all': - query = 'language:{} {}'.format(params['language'].split('_')[0].upper(), query) + query = u'language:{} {}'.format(params['language'].split('_')[0].upper(), query) search_path = search_string.format( query=urlencode({'q': query}),