on master help sign in
[fix] wolframalpha unicode inputs
7970545Adam Tauber
searx/engines/wolframalpha_noapi.py+1−1
@@ -90,6 +90,6 @@ def response(resp):
90 if not result_chunks:
90 if not result_chunks:
91 return []
91 return []
92
92
93− return [{'url': resp.request.headers['Referer'],
93+ return [{'url': resp.request.headers['Referer'].decode('utf-8'),
94 'title': 'Wolframalpha',
94 'title': 'Wolframalpha',
95 'content': ''.join(result_chunks)}]
95 'content': ''.join(result_chunks)}]