summaryrefslogtreecommitdiff
path: root/searx/engines/bing_images.py
diff options
context:
space:
mode:
authorGrant Lanham <contact@grantlanham.com>2024-09-25 22:28:24 -0400
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-09-26 07:26:51 +0200
commit6a3375be37b56708fea60d791bc62fa70ae1190c (patch)
treeb177bdebc9e45c36823d5f83445b7d9ce0453cff /searx/engines/bing_images.py
parent6be56aee11e5b2bd2a95479578349a561ab7ff2e (diff)
downloadsearxng-6a3375be37b56708fea60d791bc62fa70ae1190c.tar.gz
searxng-6a3375be37b56708fea60d791bc62fa70ae1190c.zip
[fix] use get accessor to pull desc from bing_images
Diffstat (limited to 'searx/engines/bing_images.py')
-rw-r--r--searx/engines/bing_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py
index 1ee09d165..0587e710f 100644
--- a/searx/engines/bing_images.py
+++ b/searx/engines/bing_images.py
@@ -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],