YouTube Transcript Scraper And Formatter
Pricing
$6.90 / 1,000 results
YouTube Transcript Scraper And Formatter
Extracts auto-generated YouTube transcripts from videos and formats them in plain text, SRT, and VTT format.
Pricing
$6.90 / 1,000 results
Rating
5.0
(3)
Developer
Matthew James
Maintained by CommunityActor stats
11
Bookmarked
43
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
YouTube Transcript Scraper And Formatter quickly fetches auto-generated transcripts (Plain, SRT, and VTT) from YouTube video URLs, perfect for automating workflows and analysis.
It is recommended to use residential proxies if you aren't yielding results.
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.
Find videos before extracting transcripts
Need video URLs for a topic? Use Fast YouTube Search Results Scraper to search by keyword and filter by upload date, duration, and caption availability. Pass the returned watchUrl values into this Actor's videoUrls input to build a search-to-transcript workflow.
Search and transcript extraction are separate runs with separate pricing. A video appearing in a caption-filtered search does not guarantee that this Actor can retrieve its transcript.