[fix] 500px: crashes when there's no description (#6745)

This commit is contained in:
Bnyro
2026-09-18 07:42:08 +02:00
committed by GitHub
parent fc028154a4
commit 087ec6fbda

View File

@@ -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']}",
)