mirror of
https://github.com/searxng/searxng.git
synced 2026-09-23 14:46:04 +00:00
[fix] c3tv: crashes on missing description (#6752)
This commit is contained in:
@@ -52,7 +52,7 @@ def response(resp: "SXNG_Response") -> EngineResults:
|
|||||||
res.types.Video(
|
res.types.Video(
|
||||||
url=item["frontend_link"],
|
url=item["frontend_link"],
|
||||||
title=item["title"],
|
title=item["title"],
|
||||||
content=item["description"],
|
content=item["description"] or "",
|
||||||
thumbnail=item["thumb_url"],
|
thumbnail=item["thumb_url"],
|
||||||
publishedDate=publishedDate,
|
publishedDate=publishedDate,
|
||||||
length=datetime.timedelta(seconds=item["length"]),
|
length=datetime.timedelta(seconds=item["length"]),
|
||||||
|
|||||||
Reference in New Issue
Block a user