get_transcript
Fetch YouTube video transcripts with options for language selection, timestamp filtering, and formatting preservation to extract text content for analysis or accessibility.
Instructions
Fetch the transcript for a YouTube video using yt-dlp.
Args:
video_id: YouTube video ID or URL
language_code: Optional language code (e.g., 'en', 'es'). If not provided, uses auto-detected language.
preserve_formatting: Whether to preserve timestamp formatting in plain text
start_time: Optional start time in seconds to filter transcript
end_time: Optional end time in seconds to filter transcript
Returns:
Complete transcript data with metadata
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| language_code | No | ||
| preserve_formatting | No | ||
| start_time | No | ||
| end_time | No |