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://"),