fix: playlist description and collaborative playlist rendering

falls back to the more "universal" microformat for description
extraction and provides limited support for collaborative videos
(no channel ucids or collaborator names)
This commit is contained in:
2025-09-28 06:32:39 +02:00
parent 34e00e2492
commit f73e6c11d4
2 changed files with 9 additions and 2 deletions

View File

@@ -543,7 +543,7 @@ def WEBextractPlaylist(plid: str = "", ctoken: str = ""):
metadata = None
if not ctoken:
metadata = {
"header": safeTraverse(resp_json, ["header"]),
"microformat": safeTraverse(resp_json, ["microformat"]),
"sidebar": safeTraverse(resp_json, ["sidebar"])
}