mirror of https://github.com/searxng/searxng.git
[fix] use get accessor to pull desc from bing_images
This commit is contained in:
parent
6be56aee11
commit
6a3375be37
|
@ -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 New Issue