YouTube Transcript icon

YouTube Transcript

Fetches the transcript of a YouTube video using yt-dlp

YouTube Transcript

AI-generated

Summary

Fetch the English transcript of a specified YouTube video using the yt-dlp binary, returning the transcript text with timing information and video metadata.

Inputs

  • Video ID or URL (required) — Provide the YouTube video ID or full URL to retrieve its transcript.
  • Binary Path (required) — Specify the file system path to the yt-dlp executable to be used for fetching video information.

Output shape

a list of JSON objects each containing the original YouTube video ID or URL, an array of transcript entries (each with text, start time, and duration), and video metadata including title, duration, uploader, and upload date

If no English transcript is found, an error is thrown unless 'Continue On Fail' is enabled, in which case the error message is returned in the output item. The output maintains order corresponding to input items.

Links

Discussion