πŸ”¬ Extract YouTube auto-generated transcripts for AI analysis and storage

⚑ 296 views Β· πŸ”¬ Document Extraction & Analysis

πŸ’‘ Pro Tip β€” YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments β€” no quota limits, just structured data.

View All Scrapers

Description

🎬 Extract YouTube auto-generated transcripts and save them for AI processing

Direct YouTube API - Auto-Generated Only

Extracts the auto-generated transcript from any YouTube video automatically.


πŸ”„ How It Works (5 Steps)

  1. πŸ“₯ Input: youtubeVideoUrl only
  2. 🌐 Fetch: GET YouTube page HTML to extract INNERTUBE_API_KEY
  3. πŸ”‘ Extract: Parse API key and video ID
  4. πŸŽ₯ Metadata: GET caption metadata
  5. πŸ€– Auto-Detect: Find auto-generated transcript (kind: asr)
  6. πŸ“ Fetch & Parse: Download and clean transcript

πŸ”„ Setup steps

  1. Import the workflow to your n8n instance
  2. Activate the workflow
  3. Provide the YouTube video URL via webhook or manual trigger
  4. The workflow will automatically extract the auto-generated transcript
  5. Access the results in the specified output format

🎯 Use Cases

βœ… Output Format

{
  "fullTranscript": "Auto-generated transcript text...",
  "wordCount": 1234,
  "transcript": [...timestamps...]
}

πŸ”— Nodes Used

HTTP Request, Stop and Error, Execute Workflow Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup