yt-dlp-downloader

Download videos, extract audio, and fetch subtitles from websites using yt-dlp.

7|Updated May 13, 2026
One-click install
npx skills add https://github.com/DawnMoon1542/agents-skills --skill yt-dlp-downloader-dawnmoon1542
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yt-dlp-downloader
Source: https://github.com/DawnMoon1542/agents-skills/tree/main/yt-dlp-downloader
Command: npx skills add https://github.com/DawnMoon1542/agents-skills --skill yt-dlp-downloader-dawnmoon1542

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, ffmpeg, and includes scripts (resource) components.

What problem does it solve? Downloading videos from sites like YouTube, Bilibili, and Twitter often fails due to 403 errors, format confusion, or missing tools. This Skill provides ready-to-use yt-dlp commands and workflows so you can download videos, extract MP3 audio, and grab subtitles without memorizing command-line flags. ## Core Features & Use Cases - Video Downloads: Download from 1000+ supported sites with quality selection (720p, 1080p, or best available) and playlist support. - Audio Extraction: Convert any video to MP3, with an optional sub-skill that adds full ID3 tags and synced LRC lyrics for music. - Error Recovery: Automatically handles YouTube 403 errors using browser cookies and resumes interrupted downloads. - Use Case: You find a lecture on YouTube and want it offline. Just paste the URL, and the Skill runs yt-dlp with browser cookies to bypass 403 blocks and saves the video to your Downloads folder. ## Quick Start Ask the assistant to download a video by pasting its URL, for example: download this video https://www.youtube.com/watch?v=xxx in 1080p with subtitles.

Frequently Asked Questions about yt-dlp-downloader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download a YouTube video with yt-dlp?

Run yt-dlp with the video URL and an output path, for example: yt-dlp -P "~/Downloads/yt-dlp" URL. For YouTube specifically, add --cookies-from-browser chrome to avoid HTTP 403 errors caused by unauthenticated requests.

How to extract audio as MP3 from a video URL?

Use yt-dlp with the -x and --audio-format mp3 flags to extract audio from any supported video URL. This requires ffmpeg to be installed, which handles the audio conversion after download.

Why does yt-dlp fail with HTTP 403 Forbidden on YouTube?

YouTube blocks unauthenticated download requests, causing 403 errors. Fix this by passing browser cookies with --cookies-from-browser chrome (or firefox, safari, edge, brave, opera) so the request appears authenticated.

Can yt-dlp download videos from Bilibili and Twitter?

Yes, yt-dlp supports over 1000 sites including Bilibili, Twitter/X, TikTok, Douyin, Vimeo, and Twitch. Most non-YouTube sites work without cookies, so a plain yt-dlp command with the URL is usually sufficient.

How do I select a specific video quality like 720p?

Use the -f flag with a format selector such as "bestvideo[height<=720]+bestaudio/best[height<=720]" to cap quality at 720p. You can also run yt-dlp -F URL first to list all available format IDs and pick one directly.

What happens if a yt-dlp download gets interrupted?

yt-dlp automatically resumes interrupted downloads, so simply retrying the same command continues from where it stopped. If failures persist, update with pip install -U yt-dlp or force IPv4 with the -4 flag.