summaryrefslogtreecommitdiff
path: root/searx/engines/wolframalpha_noapi.py
diff options
context:
space:
mode:
authora01200356 <a01200356@itesm.mx>2016-02-28 00:52:47 -0600
committera01200356 <a01200356@itesm.mx>2016-02-28 01:04:29 -0600
commit4cea71e3bb34020dff0f3e28f5c1398c0b0d8278 (patch)
tree42c9dd53845fd202d44e934f3016f198033294fd /searx/engines/wolframalpha_noapi.py
parent4d8996eb4d54a0938ad9dc6ad105de2b850fa033 (diff)
downloadsearxng-4cea71e3bb34020dff0f3e28f5c1398c0b0d8278.tar.gz
searxng-4cea71e3bb34020dff0f3e28f5c1398c0b0d8278.zip
[fix] merge with 79705450dfdf321c19839bce23c56d9d4a86ba68
Diffstat (limited to 'searx/engines/wolframalpha_noapi.py')
-rw-r--r--searx/engines/wolframalpha_noapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py
index d10716a2a..7962d923c 100644
--- a/searx/engines/wolframalpha_noapi.py
+++ b/searx/engines/wolframalpha_noapi.py
@@ -159,9 +159,9 @@ def response(resp):
results.append({'infobox': infobox_title,
'attributes': result_chunks,
- 'urls': [{'title': 'Wolfram|Alpha', 'url': resp.request.headers['Referer']}]})
+ 'urls': [{'title': 'Wolfram|Alpha', 'url': resp.request.headers['Referer'].decode('utf8')}]})
- results.append({'url': resp.request.headers['Referer'],
+ results.append({'url': resp.request.headers['Referer'].decode('utf8'),
'title': 'Wolfram|Alpha',
'content': infobox_title})