YouTube

yt-dlp – fork of youtube-dl

We’ve previously extolled the virtues of youtube-dl, a hugely popular free software tool for downloading videos from YouTube and other user-uploaded video platforms.

The project has run into issues in the past, sailing close to copyright infringement claims. For example, in late 2020 the Recording Industry Association of America (RIAA) issued a takedown notice to GitHub under the Digital Millennium Copyright Act (DMCA), requesting the removal of youtube-dl. GitHub initially complied with the takedown request, but reinstated the project’s repository after a few weeks.

More recently, youtube-dl has been beset with other issues. Historically, the project saw very active development. Yet there hasn’t been a release since December 2021, with almost no code commits for many months. More importantly, download speeds from YouTube are tragically slow. Indeed, users complain frequently of terrible slow download rates. It’s claimed that YouTube is throttling downloads, and given the lack of maintenance of youtube-dl, the issue persists.

Step forward yt-dlp. It’s a fork of youtube-dl that’s under active development. It focuses on adding new features and patches and maintaining compatibility.

Installation

Given that yt-dlp is under very active development, we don’t recommend using the package available in the Ubuntu repositories. On our Ubuntu 22.04 systems, apt pulled in the version dated 8 April 2022, which lags behind the current release.

We don’t normally recommend using a project’s binary file, but in this case that’s probably the easiest option. Make sure you download the appropriate file for your operating system. We downloaded the file yt-dlp, modified the permissions to make it an executable (see command below) and copied the file to /usr/local/bin.

$ chmod a+x yt-dlp

In operation

Many of the options mirror those with youtube-dl. For example, to show a video’s available formats, we enter the same flag as with youtube-dl:

yt-dlp
Click the image for full size

yt-dlp offers so many YouTube improvements that we don’t have the space to cover in a single page article. We particularly love the ability to download livestreams from the start, the ability to split video by chapters, the software’s multi-threaded fragment downloads, and its self-updater.

Summary

yt-dlp is everything youtube-dl used to be and more besides. It takes all the great features of youtube-dl, exploits your full network download speeds, and offers some surprising useful features not found in other projects.

The software has a plethora of command options. They can be somewhat bamboozling to the newcomer. If you prefer a GUI front-end, give Tartube a whirl. It supports yt-dlp.

Website: github.com/yt-dlp/yt-dlp
Support:
Developer: Many contributors
License: The Unlicense – free and unencumbered software released into the public domain

yt-dlp is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Console-Based YouTube Tools
yt-dlpFork of youtube-dl offering new features
You-GetDownloader that scrapes the web
LuxDownload library and CLI tool
yewtubeTerminal based YouTube player and downloader
YouTube TUILightweight and user friendly TUI for browsing YouTube
TizoniaCloud music player for the Linux terminal
pipe-viewerLightweight YouTube client with CLI and GUI
yt-xBrowse YouTube from the terminal
pytubefixLibrary and CLI for downloading YouTube videos
ytsurfClean and distraction-free
YTerMusicAims to be as fast and simple as possible
xytzTUI frontend for yt-dlp
tuitubeTUI to download videos
youtube-dlDownload videos from YouTube and many other sites. Extremely versatile
ytccKeep track of your favorite playlists on YouTube
RataplayTUI to search, play and download videos
MPS-YouTubeTerminal based YouTube player and downloader
GoMusicDownload and stream music from YouTube

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Jim Lee
Jim Lee
3 years ago

I concur with the article; yt-dlp blows its parent out of the water. The difference in speeds is nothing short of astounding.

Jackson
Jackson
3 years ago
Reply to  Jim Lee

I’m pretty sure YouTube will rate limit yt-dlp in the same way that youtube-dl has been effectively stymied, both in terms of legal action and lack of any meaningful development.

Ply8
Ply8
3 years ago

Downloading videos from YouTube is in breach of YouTube’s Terms of Service.