@kevinwatt/yt-dlp-mcp
Version:
An MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities (e.g. YouTube, Facebook, Tiktok, etc.) for LLMs.
16 lines (15 loc) • 923 B
TypeScript
import type { Config } from "../config.js";
export type { Comment, CommentsResponse, CommentResponseFormat, CommentSortOrder, CommentSummaryOptions, CommentView, FlatCommentsResponse, NormalizedComment, ThreadedComment, ThreadedCommentsResponse, } from "./comments-core.js";
export interface GetVideoCommentsOptions {
view?: "flat" | "threaded";
responseFormat?: "json" | "markdown_tree";
maxParents?: number;
maxReplies?: number;
maxRepliesPerThread?: number;
maxDepth?: number;
}
export interface GetVideoCommentsSummaryOptions {
view?: "flat" | "threaded";
}
export declare function getVideoComments(url: string, maxComments?: number, sortOrder?: "top" | "new", config?: Config, options?: GetVideoCommentsOptions): Promise<string>;
export declare function getVideoCommentsSummary(url: string, maxComments?: number, config?: Config, options?: GetVideoCommentsSummaryOptions): Promise<string>;