From 6a3375be37b56708fea60d791bc62fa70ae1190c Mon Sep 17 00:00:00 2001 From: Grant Lanham Date: Wed, 25 Sep 2024 22:28:24 -0400 Subject: [PATCH] [fix] use get accessor to pull desc from bing_images --- searx/engines/bing_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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],