mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 10:51:01 +00:00
[fix] use get accessor to pull desc from bing_images
This commit is contained in:
parent
6be56aee11
commit
6a3375be37
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def response(resp):
|
||||||
'url': metadata['purl'],
|
'url': metadata['purl'],
|
||||||
'thumbnail_src': metadata['turl'],
|
'thumbnail_src': metadata['turl'],
|
||||||
'img_src': metadata['murl'],
|
'img_src': metadata['murl'],
|
||||||
'content': metadata['desc'],
|
'content': metadata.get('desc'),
|
||||||
'title': title,
|
'title': title,
|
||||||
'source': source,
|
'source': source,
|
||||||
'resolution': img_format[0],
|
'resolution': img_format[0],
|
||||||
|
|
Loading…
Reference in a new issue