YouTube Transcript Scraper And Formatter avatar
YouTube Transcript Scraper And Formatter

Pricing

$6.90 / 1,000 results

Go to Store
YouTube Transcript Scraper And Formatter

YouTube Transcript Scraper And Formatter

Developed by

Matthew James

Matthew James

Maintained by Community

Extracts auto-generated YouTube transcripts from videos and formats them in plain text, SRT, and VTT format.

5.0 (1)

Pricing

$6.90 / 1,000 results

2

Total users

4

Monthly users

4

Runs succeeded

>99%

Last modified

an hour ago

YouTube Transcript Scraper And Formatter

YouTube Transcript Scraper And Formatter quickly fetches auto-generated transcripts (Plain, SRT, and VTT) from YouTube video URLs, perfect for automating workflows and analysis.

Features

  • Extracts auto-generated transcripts directly from YouTube.
  • Supports multiple YouTube URLs simultaneously.
  • Provides transcripts in plain text, VTT, and SRT formats.
  • Clearly reports errors encountered with problematic URLs.
  • Efficient concurrency control for faster results.

Data Output Structure

  • video_url: The original YouTube URL provided.
  • success: Boolean indicating successful transcript extraction.
  • segments: Number of transcript segments extracted.
  • plain: Full transcript as plain text.
  • srt: Transcript formatted as SRT.
  • vtt: Transcript formatted as WebVTT.
  • error: Error message if extraction fails.

Example Output

{
"video_url": "https://www.youtube.com/watch?v=VIDEO_ID",
"success": true,
"plain": "This is an example transcript. It combines all segments into one readable paragraph.",
"srt": "1\n00:00:01,000 --> 00:00:05,000\nThis is an example segment.\n\n2\n00:00:05,000 --> 00:00:10,000\nSecond segment of the transcript.",
"vtt": "WEBVTT\n\n00:00:01.000 --> 00:00:05.000\nThis is an example segment.\n\n00:00:05.000 --> 00:00:10.000\nSecond segment of the transcript.",
"error": null,
"segments": 5
}

Example of Error Output

{
"video_url": "https://www.youtube.com/watch?v=INVALID_ID",
"success": false,
"plain": "Invalid video ID",
"srt": "",
"vtt": "",
"error": "Invalid video ID"
"segments": 0
}

Workflow Usage

Example payload for workflow integration:

{
"videoUrls": [
{
"url": "https://www.youtube.com/watch?v=valid_video_id"
},
{
"url": "https://www.youtube.com/watch?v=another_valid_video_id"
}
]
}

Important Notes

  • Only supports videos with auto-generated transcripts enabled on YouTube.