diff --git a/backend/services/ytdlp.py b/backend/services/ytdlp.py index b4792af..1ff1585 100644 --- a/backend/services/ytdlp.py +++ b/backend/services/ytdlp.py @@ -391,7 +391,7 @@ def fetch_video_comments(youtube_video_id: str, max_comments: int = 20) -> list[ "yt-dlp", url, "--dump-json", "--write-comments", - "--extractor-args", f"youtube:max_comments={max_comments},max_comment_depth=1", + "--extractor-args", f"youtube:max_comments={max_comments};comment_sort=top", "--no-download", "--no-playlist", "--quiet",