[fix] use get accessor to pull desc from bing_images

This commit is contained in:
Grant Lanham 2024-09-25 22:28:24 -04:00 committed by Markus Heiser
parent 6be56aee11
commit 6a3375be37
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def response(resp):
'url': metadata['purl'],
'thumbnail_src': metadata['turl'],
'img_src': metadata['murl'],
'content': metadata['desc'],
'content': metadata.get('desc'),
'title': title,
'source': source,
'resolution': img_format[0],