npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@cryptodevops/n8n-nodes-youtube-transcript

v1.7.4

Published

Custom n8n node for YouTube video transcript extraction

Downloads

178

Readme

🎬 n8n YouTube Transcript Node

Custom n8n node for extracting transcripts and captions from YouTube videos, optimized for both standard workflows and AI agents.

✨ Features

🔍 Core Operations

  • Get Transcript: Extract transcripts/captions from YouTube videos
  • Get Video Info: Retrieve basic video metadata using YouTube oEmbed API
  • Multi-format Output: Support for raw text, structured JSON, SRT, and VTT formats

🤖 AI Agent Optimizations

  • AI Mode: Optimized output format for AI agents
  • Auto Summaries: Ready-to-use video content descriptions
  • Structured Data: Simplified JSON for automated processing

🌍 Advanced Features

  • Multi-language transcript support (en, fr, auto)
  • Timestamp inclusion options
  • Configurable transcript length limits
  • Robust error handling with fallback mechanisms
  • No API key required for basic functionality

Language Selection

The node supports automatic language detection and manual language selection:

  • Auto: Automatically selects the best available language (English → French → first available)
  • Manual: Select from 100+ supported languages including English, French, Spanish, German, etc.

🚀 Installation

Prerequisites

  • No API Key Required: Works with publicly available YouTube videos
  • n8n instance: Version 0.190.0 or higher

Node Installation

Option 1: From npm (when published)

npm install @cryptodevops/n8n-nodes-youtube-transcript

Option 2: From local package

npm install ./cryptodevops-n8n-nodes-youtube-transcript-1.0.0.tgz

Option 3: Development Installation

git clone <repository-url>
cd n8n-youtube-transcript
npm install
npm run build
npm link

n8n Configuration

After installation, restart your n8n instance. The "YouTube Transcript" node will appear in the node palette.

📋 Available Operations

🎬 Get Transcript

Extract transcript/captions from a YouTube video.

Parameters:

  • Video URL (required): YouTube video URL (e.g., "https://www.youtube.com/watch?v=VIDEO_ID")
  • Language (optional): Transcript language (fr, en, auto) - Default: auto
  • Format Output (optional): Output format (raw, structured, srt, vtt) - Default: structured
  • Include Timestamps (optional): Include timing information - Default: true
  • AI Mode (optional): Enable AI-optimized output with summary
  • Max Length (optional): Maximum transcript length in characters - Default: 10000

📹 Get Video Info

Retrieve basic information about a YouTube video.

Parameters:

  • Video URL (required): YouTube video URL

📤 Output Formats

Structured Format (Default)

{
  "video_id": "WAh6paM4GqI",
  "language": "fr",
  "total_segments": 25,
  "transcript_available": true,
  "segments": [
    {
      "start": 0,
      "duration": 3.5,
      "text": "Salut tout le monde !"
    }
  ],
  "full_text": "Salut tout le monde ! Aujourd'hui on va parler...",
  "ai_summary": "Cette vidéo présente le concept de Vibe Coding..."
}

Raw Text Format

{
  "video_id": "WAh6paM4GqI",
  "language": "fr",
  "total_segments": 25,
  "transcript": "Salut tout le monde ! Aujourd'hui on va parler du Vibe Coding..."
}

SRT Format

{
  "video_id": "WAh6paM4GqI",
  "language": "fr",
  "total_segments": 25,
  "srt_format": "1\\n00:00:00,000 --> 00:00:03,500\\nSalut tout le monde !\\n\\n2\\n..."
}

Video Info Format

{
  "video_id": "WAh6paM4GqI",
  "title": "Qu'est ce que le Vibe Coding ?",
  "author_name": "Mike Codeur",
  "thumbnail_url": "https://i.ytimg.com/vi/WAh6paM4GqI/hqdefault.jpg",
  "width": 200,
  "height": 113,
  "url": "https://www.youtube.com/watch?v=WAh6paM4GqI"
}

🛠️ Error Handling

The node includes robust error handling:

  • Invalid URLs: Validates YouTube URL format
  • Private/Unavailable Videos: Graceful error messages
  • No Transcript Available: Fallback with informative messages
  • API Failures: Multiple fallback mechanisms

📚 Documentation

🔗 Useful Links

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

📄 License

MIT License - see LICENSE file for details

🐛 Support

If you encounter issues:

  1. Check the Installation Guide
  2. Verify your YouTube URL format
  3. Ensure the video has captions/transcripts available
  4. Open an issue with detailed error information

Note: This node works with publicly available YouTube videos that have captions/transcripts enabled. No API key required for basic functionality.