yt-dlp: Download Videos with One Command

yt-dlp: Download Videos with One Command

1 views
By Lounes Hareb
yt-dlpVideo DownloaderFree Software

There are two kinds of travelers: those who board a long flight with a folder of saved videos, and those who spend six hours staring at a buffering circle. yt-dlp is for the first kind. It is a free, open-source command-line tool that pulls video and audio off a frankly absurd number of websites, with one command and zero buttons. It is also unapologetic about being a tool: what you point it at is your responsibility, which is why our test file is one we had every right to download.

One file, no installer

We grabbed the current release, 2026.10.21, published three days before our test. No installer, no account, no setup wizard: one small file dropped in a folder, and standalone builds exist if you do not have Python. The first thing it printed was not an ad or an upsell but a polite complaint that our Python 3.10 is deprecated and we should really move to 3.11. Noted, and honestly, refreshing.

We point it at a bunny

Our test target: Big Buck Bunny, the Blender Foundation cartoon released under a Creative Commons Attribution 3.0 license, hosted by the Internet Archive. First pass, metadata only: yt-dlp read the page and returned the title, the uploader and the 9:56 runtime in about a second. Second pass, the format list: three versions, from a 45 MB 533x300 file up to a 317 MB 720p AVI. We asked for the smallest, and on our connection it sat on disk roughly a second later.

Then the part that sold us. Re-run the same command with the audio-extraction flag and yt-dlp fetches the video, hands it to FFmpeg, and leaves you a tidy 115 kbps MP3 whose length matched the source to the second. If you have ever wanted just the audio from a two-hour lecture, that single flag is the entire tutorial.

The checkpoint

Then YouTube happened. Pointed at a Creative Commons video on youtube.com, yt-dlp downloaded nothing and returned a blunt message: "Sign in to confirm you're not a bot." From this machine, on this day, that was the end of the conversation: we did not log in, did not pass cookies, did not retry. Every other site in this test answered instantly; YouTube did not. That is the whole of what we can honestly report.

Who maintains this thing

yt-dlp is a fork of youtube-dl, the tool your nerdy friend swore by in 2015. When the RIAA had youtube-dl removed from GitHub with a DMCA notice in October 2020, GitHub restored it a month later and tightened its takedown review process. The community moved on regardless, and yt-dlp is where the work happens now: releases are numbered by date, the one we tested landed three days earlier, and the license is the Unlicense, which is as close to "do whatever you want" as a legal document gets.

Should you bother

If pasting one command into a terminal does not scare you, yes. Everything we asked of yt-dlp happened in seconds, with no account, no ads and no upsell, and the evening's only failure was not really its failure. It offers no graphical interface and no hand-holding, and its 1,755 extractors (we counted) cover far more sites than you will ever visit. Use it on content you have the rights to, keep it updated, and it will quietly become the hardest-working line you type all month.

Sources: https://github.com/yt-dlp/yt-dlp and https://github.blog/open-source/standing-up-for-developers-youtube-dl-is-back/

Share this article