youtube-downloader

Download YouTube videos with configurable quality and format options.

277|36|Updated Jul 14, 2021
One-click install
npx skills add https://github.com/981377660LMT/algorithm-study --skill youtube-downloader-981377660lmt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-downloader
Source: https://github.com/981377660LMT/algorithm-study/tree/main/.github/skills/youtube-downloader
Command: npx skills add https://github.com/981377660LMT/algorithm-study --skill youtube-downloader-981377660lmt

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Keeping YouTube video downloads organized and consistent is hard. This skill provides a reliable way to fetch YouTube videos with precise control over quality and format, reducing manual steps and compatibility issues.

Core Features & Use Cases

  • Quality control: download in best, 1080p, 720p, 480p, 360p, or worst.
  • Format flexibility: output as mp4, webm, or mkv, with optional audio-only MP3 extraction.
  • Automatic setup and safety: automatically installs yt-dlp if missing and skips playlists by default, outputting to a default directory.
  • Use Case: save a single tutorial in 1080p MP4 for offline viewing or extract audio for a podcast.

Quick Start

Run the downloader script with a YouTube URL to fetch the video in your chosen quality and format.

Frequently Asked Questions about youtube-downloader

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

FAQPage Schema
How do I download a YouTube video in 1080p MP4 format?

To download a YouTube video in 1080p MP4, run the downloader script with the video URL and specify 1080p quality and mp4 output format. The tool configures yt-dlp to fetch the exact resolution and container for offline viewing.

Can I extract audio only from a YouTube video as an MP3 file?

Yes, you can extract audio only from YouTube videos by enabling the optional audio-only download mode. The script processes the URL with yt-dlp and outputs an MP3 file instead of a video container like mp4, webm, or mkv.

Do I need to manually install yt-dlp before downloading YouTube videos?

No, you do not need to manually install yt-dlp before downloading YouTube videos. The script automatically detects if yt-dlp is missing and installs the dependency for you to ensure the download process runs smoothly.

How does the downloader handle YouTube playlists and multiple videos?

The downloader handles YouTube playlists by skipping them by default to prevent downloading multiple videos unintentionally. It constructs the yt-dlp command to target individual videos and output them to your specified directory.

What is the best way to automate saving multiple YouTube tutorials in specific resolutions?

The best way to automate saving YouTube tutorials is running the script per video URL with your chosen quality, such as 720p or 360p, and format. It handles yt-dlp configuration and outputs each file to your designated directory consistently.

Why does my YouTube video download output as a webm or mkv file instead of mp4?

Your YouTube video download outputs as webm or mkv instead of mp4 if you selected those formats in the script options. The tool uses yt-dlp to fetch the video in your explicitly chosen container format.