mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
d
This commit is contained in:
parent
b92f620ce3
commit
233ce9b3d0
1 changed files with 7 additions and 9 deletions
|
@ -114,15 +114,13 @@ def response(resp):
|
||||||
if not result_chunks:
|
if not result_chunks:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
# results.append(
|
results.append(
|
||||||
# {
|
{
|
||||||
# 'infobox': infobox_title,
|
'infobox': infobox_title,
|
||||||
# 'attributes': result_chunks,
|
'attributes': result_chunks,
|
||||||
# 'urls': [{'title': 'WolframAlpha', 'url': resp.request.headers['Referer']}],
|
'urls': [{'title': 'WolframAlpha', 'url': resp.request.headers['Referer']}],
|
||||||
# }
|
}
|
||||||
# )
|
)
|
||||||
|
|
||||||
results.append({'answer': result_chunks})
|
|
||||||
|
|
||||||
results.append(
|
results.append(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue