summaryrefslogtreecommitdiff
path: root/searx/engines/wolframalpha_noapi.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-02-25 14:55:26 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-02-25 14:55:26 +0100
commit79705450dfdf321c19839bce23c56d9d4a86ba68 (patch)
tree8cd729990a2c92bc27b1aa302f9604e6c16a85d8 /searx/engines/wolframalpha_noapi.py
parent10947536aa1e6e08c54f075b227ba592f1553cb0 (diff)
downloadsearxng-79705450dfdf321c19839bce23c56d9d4a86ba68.tar.gz
searxng-79705450dfdf321c19839bce23c56d9d4a86ba68.zip
[fix] wolframalpha unicode inputs
Diffstat (limited to 'searx/engines/wolframalpha_noapi.py')
-rw-r--r--searx/engines/wolframalpha_noapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py
index 3ebbc4196..639dccf24 100644
--- a/searx/engines/wolframalpha_noapi.py
+++ b/searx/engines/wolframalpha_noapi.py
@@ -90,6 +90,6 @@ def response(resp):
if not result_chunks:
return []
- return [{'url': resp.request.headers['Referer'],
+ return [{'url': resp.request.headers['Referer'].decode('utf-8'),
'title': 'Wolframalpha',
'content': ''.join(result_chunks)}]