mirror of
https://github.com/searxng/searxng.git
synced 2026-09-23 06:36:12 +00:00
[fix] 500px: crashes when there's no description (#6745)
This commit is contained in:
@@ -143,7 +143,7 @@ def response(resp: "SXNG_Response"):
|
||||
thumbnail_src=image_urls[0],
|
||||
img_src=image_urls[-1],
|
||||
title=node["title"],
|
||||
content=node["description"],
|
||||
content=node["description"] or "",
|
||||
author=node["uploader"]["displayName"],
|
||||
resolution=f"{node['width']}x{node['height']}",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user