summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/chinaso.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/chinaso.py b/searx/engines/chinaso.py
index e63bf661e..97e79bbad 100644
--- a/searx/engines/chinaso.py
+++ b/searx/engines/chinaso.py
@@ -195,7 +195,7 @@ def parse_images(data):
{
'url': entry["web_url"],
'title': html_to_text(entry["title"]),
- 'content': html_to_text(entry["ImageInfo"]),
+ 'content': html_to_text(entry.get("ImageInfo", "")),
'template': 'images.html',
'img_src': entry["url"].replace("http://", "https://"),
'thumbnail_src': entry["largeimage"].replace("http://", "https://"),