youtube_dl
YouTube video downloader
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is stable, dependency-free, and permissively licensed, making it straightforward to install and use. However, install it only if you accept that extractors may be outdated—the last release was in 2021, and YouTube's anti-scraping measures evolve frequently. For production or mission-critical workflows, verify that the extractors still work for your target platforms before relying on it. A security vulnerability (GHSA-22fp-mf44-f2mq) is recorded; evaluate its severity for your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 2.6, 2.7, or 3.2+ interpreter installed on the system.
- YouTube's evolving anti-scraping measures may require frequent extractor updates.
- Low install friction with no runtime dependencies.
License · maintenance · safety
Unlicense (permissive) — Released under the Unlicense (public domain), meaning you can modify, redistribute, or use it however you like with no restrictions or attribution requirements.
last release 2021-12-16 (1702 days) · last repo commit 2026-02-19 · 140,956 stars
1 known vulnerabilities (OSV.dev, 2026-08-14) · 250,104 downloads/mo, #8,639 on PyPI
Alternatives
Verify before relying
pip install youtube-dl
youtube-dl 'https://www.youtube.com/watch?v=VIDEO_ID'
# Or as a Python module:
import youtube_dl
with youtube_dl.YoutubeDL() as ydl:
ydl.download(['https://www.youtube.com/watch?v=VIDEO_ID'])- Whether the package's extractors still work reliably against current YouTube and other platform anti-scraping measures, given the last release was in 2021.
- Current compatibility with modern Python versions beyond 3.8, which was the latest listed in classifiers at release time.
- Details of the security vulnerability GHSA-22fp-mf44-f2mq and whether it affects typical use cases.
What it is and what it does
youtube-dl is a command-line program that downloads videos from YouTube and several other video platforms. It works on Unix, Windows, and macOS and can be used either as a standalone tool or imported as a Python module. The tool supports downloading individual videos, entire playlists, and offers extensive options for format selection, quality control, and output customization.
The package has no external runtime dependencies, making installation straightforward via pip or system package managers. It is released into the public domain, giving you full freedom to modify and redistribute it. However, the project's last release was in December 2021, and while the repository remains active, the age of the codebase means extractors may require updates to work with current anti-scraping measures on video platforms.
Use it for
- Download individual YouTube videos for offline viewing or archival purposes.
- Batch-download entire YouTube playlists or channels with customizable format and quality settings.
- Extract audio from videos and save as MP3 or other audio formats using format selection options.
- Automate video downloads in scripts or scheduled tasks via command-line integration.
- Download videos from platforms other than YouTube that the tool's extractors support.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is stable, dependency-free, and permissively licensed, making it straightforward to install and use. However, install it only if you accept that extractors may be outdated—the last release was in 2021, and YouTube's anti-scraping measures evolve frequently. For production or mission-critical workflows, verify that the extractors still work for your target platforms before relying on it. A security vulnerability (GHSA-22fp-mf44-f2mq) is recorded; evaluate its severity for your use case.
Install
youtube-dl on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained as of 2026-02-19 with substantial community engagement (140956 stars). However, the package has not received a new release since 2021-12-16, which is over four years old.
Requires Python 2.6, 2.7, or 3.2+ interpreter installed on the system. YouTube's evolving anti-scraping measures may require frequent extractor updates.
License in practice
Released under the Unlicense (public domain), meaning you can modify, redistribute, or use it however you like with no restrictions or attribution requirements.
Quickstart
pip install youtube-dl
youtube-dl 'https://www.youtube.com/watch?v=VIDEO_ID'
# Or as a Python module:
import youtube_dl
with youtube_dl.YoutubeDL() as ydl:
ydl.download(['https://www.youtube.com/watch?v=VIDEO_ID'])
Verify before relying
- Whether the package's extractors still work reliably against current YouTube and other platform anti-scraping measures, given the last release was in 2021.
- Current compatibility with modern Python versions beyond 3.8, which was the latest listed in classifiers at release time.
- Details of the security vulnerability GHSA-22fp-mf44-f2mq and whether it affects typical use cases.
Package facts
| License | Unlicense permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,702 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 250,104 / month, #8,639 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | 1 GHSA-22fp-mf44-f2mq |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleLicense :: Public DomainProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: ImplementationProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: IronPythonProgramming Language :: Python :: Implementation :: JythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Multimedia :: Video |
Evidence: youtube_dl-2021.12.17-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “youtube video downloader”
- youtube_dlCommand-line tool to download videos from YouTube and other video…
- pytubefixDownloads YouTube videos, playlists, and channels in multiple formats…
- pytubepytube downloads YouTube videos and playlists to local files via…
Give your agent the search over MCP, or paste the wish link into any chat.
More Video packages
yt-dlp downloads audio and video from thousands of sites via a command-line interface, supporting format selection, metadata modification, and post-processing.
Install it if you need to download video or audio from the web.
MoviePy is a Python library for video editing that reads, processes, and writes video and audio files by converting them to numpy arrays for frame-level manipulation and effect application.
Generate access tokens and call LiveKit server APIs (room management, egress, ingress, SIP, agent dispatch, connectors) from Python backends using async/await.
Install it if you are building a backend that needs to generate tokens, manage rooms, or integrate with LiveKit's services.
pytube downloads YouTube videos and playlists to local files via Python API or command-line interface, with support for multiple stream formats and quality levels.
A framework for building realtime multimodal and voice AI agents that connect to LiveKit rooms and handle audio/video interactions with language models.
ffmpy is a Python wrapper around FFmpeg that lets you build and execute FFmpeg command lines programmatically without writing shell commands directly.
See also spotdl · subliminal · pytubefix · bgutil-ytdlp-pot-provider · casttube · streamlink · scenedetect · youtube-transcript-api