From 4cea71e3bb34020dff0f3e28f5c1398c0b0d8278 Mon Sep 17 00:00:00 2001 From: a01200356 Date: Sun, 28 Feb 2016 00:52:47 -0600 Subject: [fix] merge with 79705450dfdf321c19839bce23c56d9d4a86ba68 --- searx/engines/wolframalpha_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/engines/wolframalpha_api.py') diff --git a/searx/engines/wolframalpha_api.py b/searx/engines/wolframalpha_api.py index 9a13d7422..4526c825f 100644 --- a/searx/engines/wolframalpha_api.py +++ b/searx/engines/wolframalpha_api.py @@ -112,10 +112,10 @@ def response(resp): # append infobox 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')}]}) # append link to site - results.append({'url': resp.request.headers['Referer'], + results.append({'url': resp.request.headers['Referer'].decode('utf8'), 'title': 'Wolfram|Alpha', 'content': infobox_title}) -- cgit v1.2.3