mirror of
https://github.com/searxng/searxng.git
synced 2026-10-25 05:44:14 +00:00
[fix] 500px: crashes when there's no description (#6745)
This commit is contained in:
1 parent
fc028154a4
commit
087ec6fbda
1 file changed
+1
-1
@@ -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