logo

searx

Unnamed repository; edit this file 'description' to name the repository.
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:

searx/engines/bing.py | 2+-
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}),