From 233ce9b3d004ed5ba507e3305bb5d092ea922e1a Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 5 Mar 2023 00:37:25 +0800 Subject: [PATCH] d --- searx/engines/wolframalpha_noapi.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py index f4f551627..5bb3f6b04 100644 --- a/searx/engines/wolframalpha_noapi.py +++ b/searx/engines/wolframalpha_noapi.py @@ -114,15 +114,13 @@ def response(resp): if not result_chunks: return [] - # results.append( - # { - # 'infobox': infobox_title, - # 'attributes': result_chunks, - # 'urls': [{'title': 'WolframAlpha', 'url': resp.request.headers['Referer']}], - # } - # ) - - results.append({'answer': result_chunks}) + results.append( + { + 'infobox': infobox_title, + 'attributes': result_chunks, + 'urls': [{'title': 'WolframAlpha', 'url': resp.request.headers['Referer']}], + } + ) results.append( {