mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Duplicated Info box
This commit is contained in:
parent
72e8b5c354
commit
b9eb927676
7 changed files with 204 additions and 170 deletions
|
|
@ -49,7 +49,7 @@ def response(resp):
|
|||
response_json = loads(resp.text)
|
||||
results = response_json['results']
|
||||
|
||||
for i in ('answers', 'infoboxes'):
|
||||
for i in ('answers', 'infoboxes', 'chat_box'):
|
||||
results.extend(response_json[i])
|
||||
|
||||
results.extend({'suggestion': s} for s in response_json['suggestions'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue