summaryrefslogtreecommitdiff
path: root/searx/engines/bing.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-11-07 22:33:17 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-11-07 22:33:17 +0100
commit17b08d096c5d7823799cdd6eab7fe67ef9941f9f (patch)
treec3c73093eafe2c231c99b4e9df3479f15d6d031d /searx/engines/bing.py
parent16ff8d06c73d3e0ec784e8c9a1fb38b36a95d8fb (diff)
downloadsearxng-17b08d096c5d7823799cdd6eab7fe67ef9941f9f.tar.gz
searxng-17b08d096c5d7823799cdd6eab7fe67ef9941f9f.zip
[fix] unicode search expression for bing
Diffstat (limited to 'searx/engines/bing.py')
-rw-r--r--searx/engines/bing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py
index b9c5f73fc..75814a595 100644
--- 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}),