Commit fa87765
Changed files (1)
src
preview
src/preview/ytdlp.py
@@ -184,7 +184,7 @@ async def preview_ytdlp(
if bilibili_comments and platform == "bilibili":
comments = await get_bilibili_comments(kwargs.get("bvid"))
if youtube_comments and platform == "youtube":
- await get_youtube_comments(kwargs.get("vid"))
+ comments = await get_youtube_comments(kwargs.get("vid"))
for comment in comments:
if len(f"{texts}{comment}") < CAPTION_LENGTH: