Youtube Transcript Scraper. $2/1k resultsβ‘
Pricing
$2.00 / 1,000 results
Youtube Transcript Scraper. $2/1k resultsβ‘
Extract transcripts from any YouTube video in seconds. Supports auto-generated & manual captions, timestamps, JSON & plain text output. Perfect for content creators, researchers, SEO & NLP projects. π¬
Pricing
$2.00 / 1,000 results
Rating
5.0
(19)
Developer
Actor stats
35
Bookmarked
144
Total users
14
Monthly active users
10 days ago
Last modified
Categories
Share
YouTube Transcript Scraper
π Introduction
The YouTube Transcript Scraper is a robust tool for extracting transcripts from YouTube videos. Whether you need auto-generated captions or user-uploaded subtitles, this scraper delivers accurate, structured transcript data for any video with available captions.
π― What Does This Tool Do?
- Extracts transcripts from YouTube videos using a full URL
- Supports both auto-generated and manually created captions.
- Outputs transcripts in both JSON and plain text formats for easy integration and analysis.
π Key Features
- Retrieve transcripts from any YouTube video with captions
- Accepts only full URLs
- Outputs in JSON and plain text
- Includes timestamps for each transcript segment
- Fast and reliable extraction
- Json output for easy intrgration
- Minimal setup required
π Use Cases
- Content Creators: Generate subtitles or repurpose video content.
- Researchers: Perform sentiment analysis, NLP, or content analysis.
- Accessibility: Provide readable transcripts for hearing-impaired users.
- SEO & Summarization: Create searchable summaries and improve discoverability.
- Education: Collect lecture or tutorial transcripts for study and reference.
π₯ Inputs
What does the scraper accept?
- YouTube Video URL (e.g.,
https://www.youtube.com/watch?v=dQw4w9WgXcQ)
Note: The video must have captions enabled (either user-uploaded or auto-generated).
π Restrictions
- Only works with videos that have available transcripts.
- Some videos (e.g., live streams, private videos) may not provide transcripts.
β Example Input
{"videoUrl":["https://www.youtube.com/watch?v=dQw4w9WgXcQ","https://www.youtube.com/watch?v=jzEbj3w8bDY"]}
π€ Outputs
What does the scraper return?
- JSON: Structured transcript with timestamps and text.
- Plain Text: Clean, readable transcript.
Example Output (JSON)
{"videoUrl":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","title":"Never Gonna Give You Up","transcript":[{"timestamp":"0:00","text":"We're no strangers to love"},{"timestamp":"0:05","text":"You know the rules and so do I"},{"timestamp":"0:10","text":"A full commitment's what I'm thinking of"}]}
Example Output (Plain Text)
0:00 We're no strangers to love0:05 You know the rules and so doI0:10A full commitment's what I'm thinking of
βοΈ How to Use
- Log in or Sign up on Apify Platform.
- Create a new task and select "YouTube Transcript Actor".
- Enter the YouTube video URL(s) in the startUrls field.
- Choose whether to include timestamps (includeTimestamps: "toggle ON" or "toggle OFF").
- Start the task and receive your transcript in JSON format.
π οΈ Troubleshooting
| Issue | Possible Cause | Solution |
|---|---|---|
| Transcript not found | Video has no captions | Try another video |
| Invalid URL/ID | Input is incorrect or missing | Check and re-enter the input |
| Empty transcript | YouTube restricted the transcript | Try another video or region |
π Additional Resources
π Acknowledgments
This tool was built with the support of the open-source community and the YouTube API. Special thanks to all contributors! π
