YT Transcript icon

YT Transcript

Fetches transcripts from your self-hosted API

Transcript → Get

AI-generated

Overview

This node fetches transcripts from YouTube videos using a self-hosted API. It is useful for extracting the spoken content of videos in text form, which can be used for content analysis, accessibility, or archiving. For example, users can input a YouTube video URL and retrieve its transcript in plain text or timestamped format, optionally including metadata like the video title and description.

Use Case Examples

  1. Extracting the plain text transcript of a YouTube tutorial video for creating subtitles.
  2. Retrieving a timestamped transcript of a conference talk to analyze speech patterns.
  3. Getting the transcript in a specific language to support multilingual content processing.

Properties

Name Meaning
YouTube URL The URL of the YouTube video to fetch the transcript from.
Format The desired transcript format, either plain text or timestamped (VTT).
Language The language code for the transcript (e.g., 'en', 'es'). Defaults to English or the first available language if not specified.
Include Metadata Whether to include the video title and description in the response.
Request Options Additional request settings such as batching, SSL certificate validation, proxy, and timeout.

Output

JSON

  • transcript - The transcript text or data retrieved from the YouTube video.
  • metadata
    • title - The title of the YouTube video, included if metadata is requested.
    • description - The description of the YouTube video, included if metadata is requested.

Dependencies

  • A self-hosted API for fetching YouTube transcripts, requiring an API key credential for authentication.

Troubleshooting

  • Ensure the YouTube URL is valid and publicly accessible; private or removed videos will not return transcripts.
  • If the transcript is not available in the requested language, the node may return an error or fallback to the default language.
  • Timeout errors can occur if the server is slow or unresponsive; increase the timeout setting if needed.
  • SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.
  • Proxy settings must be correctly configured if used, including authentication details if required.

Links

Discussion