Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] c3tv: crashes on missing description (#6752)

Bnyro49064747a2df
diff --git a/searx/engines/ccc_media.py b/searx/engines/ccc_media.py
index 956b4762a..5ba6a5c0d 100644
--- a/searx/engines/ccc_media.py
+++ b/searx/engines/ccc_media.py
@@ -52,7 +52,7 @@ def response(resp: "SXNG_Response") -> EngineResults:
res.types.Video(
url=item["frontend_link"],
title=item["title"],
- content=item["description"],
+ content=item["description"] or "",
thumbnail=item["thumb_url"],
publishedDate=publishedDate,
length=datetime.timedelta(seconds=item["length"]),