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 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-ytdlp

v0.1.5

Published

n8n community node for yt-dlp – download videos and audio from 1000+ websites

Readme

n8n-nodes-ytdlp

An n8n community node that integrates yt-dlp — a powerful command-line tool to download videos and audio from 1000+ websites including YouTube, Twitter/X, TikTok, Bilibili, and many more.

Prerequisites

yt-dlp must be installed on the machine running n8n.

Install yt-dlp

# via pip (recommended)
pip install yt-dlp

# or download the binary directly (no Python required)
# https://github.com/yt-dlp/yt-dlp/releases/latest

Verify the installation:

yt-dlp --version

Optional dependencies (for full functionality)

# For merging video+audio streams (highly recommended)
# Windows: download from https://ffmpeg.org/download.html
# Linux/Mac:
apt install ffmpeg   # Debian/Ubuntu
brew install ffmpeg  # macOS

Installation

Via n8n UI (Recommended)

  1. Go to Settings → Community Nodes
  2. Click Install
  3. Enter: n8n-nodes-ytdlp
  4. Click Install

Via CLI

# In your n8n installation directory:
npm install n8n-nodes-ytdlp

Operations

| Operation | Description | |-----------|-------------| | Get Info | Retrieve video/playlist metadata as JSON (no download) | | List Formats | List all available download formats for a URL | | Download | Download video/audio to a local directory | | Extract Audio | Download and extract audio in a specified format (MP3, M4A, etc.) |

Parameters

| Parameter | Operations | Description | |-----------|------------|-------------| | URL | All | Video or playlist URL | | yt-dlp Binary Path | All | Path to the yt-dlp binary (default: yt-dlp) | | Output Directory | Download, Extract Audio | Local directory to save files | | Format | Download | yt-dlp format selector string | | Audio Format | Extract Audio | MP3, M4A, AAC, Opus, FLAC, WAV | | Audio Quality | Extract Audio | VBR quality 0–9 (0 = best) | | Flat Playlist | Get Info | List playlist entries without full metadata | | Cookies File | All | Path to a Netscape cookies.txt for authentication | | Proxy URL | All | HTTP/SOCKS5 proxy URL | | Additional Arguments | All | Extra raw yt-dlp CLI arguments |


Example Workflows

Get video metadata

  1. Add yt-dlp node → Operation: Get Info
  2. Enter URL → execute
  3. Output contains title, duration, thumbnail, formats, etc.

Download best MP4

  1. Add yt-dlp node → Operation: Download
  2. Set Output Directory to /tmp/videos
  3. Format: bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best

Extract MP3 audio

  1. Add yt-dlp node → Operation: Extract Audio
  2. Audio Format: mp3, Quality: 5

Resources

License

This node package is released under the Unlicense.
yt-dlp itself is also released under the Unlicense.