get_transcript
Extract transcripts from YouTube videos with optional language selection, timestamp inclusion, and ad filtering for content analysis and accessibility.
Instructions
Extract transcript from a YouTube video URL or ID. Automatically falls back to available languages if requested language is not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL or ID | |
| lang | No | Language code for transcript (e.g., 'ko', 'en'). Will fall back to available language if not found. | en |
| include_timestamps | No | Include timestamps in output (e.g., '[0:05] text'). Useful for referencing specific moments. Default: false | |
| strip_ads | No | Filter out sponsored segments from transcript based on chapter markers (e.g., chapters marked as 'Werbung', 'Ad', 'Sponsor'). Default: true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Title | Author | Subs | Views | Date | |
| content | Yes |