Added
- Thread-aware comments processing with normalized
time_text,depth,reply_count, and orphan lifting. viewsupport forytdlp_get_video_commentsandytdlp_get_video_comments_summary(flatorthreaded).responseFormat="markdown_tree"for AI-friendly comment exports with preserved reply structure.- Full YouTube extractor comment tuple support:
maxComments,maxParents,maxReplies,maxRepliesPerThread,maxDepth. - Fixture-based comments test coverage for threaded output, markdown rendering, truncation, and graceful degradation.
Changed
ytdlp_get_video_commentsnow returnsroot_threads,reply_comments, andorphan_commentsin JSON responses.- Threaded summary rendering now groups replies hierarchically instead of only showing raw parent IDs.
- README and API docs now document both comments tools and threaded comment modes.
Fixed
- Comments normalization now preserves numeric comment IDs and numeric parent IDs by coercing them to strings.
responseFormat="markdown_tree"now rejects incompatibleview="flat"requests instead of silently ignoring the view mode.
Backward compatibility
Defaults are unchanged: view="flat", responseFormat="json", sortOrder="top". Existing integrations continue to receive the same shape they did in v0.8.5.
Thanks to @kolotovalexander for the threaded-comments feature work (#26).
Install / upgrade:
npx @kevinwatt/yt-dlp-mcp@0.9.0