mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 11:40:01 +00:00
[fix} engine chinaso - parse_images ImageInfo key error (#5175)
Signed-off-by: Butui Hu <hot123tea123@gmail.com>
This commit is contained in:
@@ -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://"),
|
||||
|
||||
Reference in New Issue
Block a user