This article relies too much on references to primary sources. (February 2017) (Learn how and when to remove this template message)
Screenshot of youtube-dl downloading Big Buck Bunny
|Developer(s)||Ricardo Garcia Gonzalez, Philipp Hagemeister, Filippo Valsorda, Jaime Marquínez Ferrándiz, Yen Chi Hsuan, Remita Amine, Sergey M., Naglis Jonaitis, pulpe.|
|Operating system||Windows, macOS, GNU/Linux, BSD|
|Licence||Public Domain (Unlicense)|
youtube-dl is a command-line utility for downloading videos or extracting audio files from streaming websites such as YouTube, Dailymotion, and Vimeo. The software is written using Python. youtube-dl is public domain software under the Unlicense license and waiver.
youtube-dl is executed through a command-line interface, although several graphical user interface (GUI) front-ends exist. The minimal amount of information required is a supported URL to a video on YouTube or various other sites, from which youtube-dl will automatically download the file:
youtube-dl [OPTIONS] URL [URL...]
It requires the Python interpreter, version 2.5 or higher, so it is portable to Linux, Windows and Mac OS X systems. youtube-dl is dependent on several other command-line tools. For post-processing and merge operations it uses either FFmpeg or avconv. For extracting media from a Macromedia RTMP stream it uses RTMPDump. These utilities are not included with youtube-dl, and need to be downloaded separately.
Windows users will need to download executable builds from their respective webpages and placed in the same folder as youtube-dl. MacOS users can install dependencies through Homebrew with
brew install [DEPENDENCYNAME].
Detailed instructions for installing are written, with the source code, at the official web page.
GNU/Linux & Unix
This software, considering that distribution packages are often outdated, has an option for updating that overrides the defaults repositories where it is installed:
youtube-dl --update or
youtube-dl -U, short form. This command-line option will make the software look at its own repository; however, the authors always recommend using the standard system update mechanism to update.
The following is a list of noteworthy websites supported by youtube-dl.
Video streaming sites
Music streaming sites
- "youtube-dl Authors". youtube-dl. Retrieved 2 October 2016.
- "Releases - rg3/youtube-dl". Retrieved 24 June 2018 – via GitHub.
- "youtube-dl GitHub page". GitHub. Retrieved 2 October 2016.
- license on youtube-dl/blob/master/LICENSE
- "GitHub Readme". GitHub. Retrieved 2 October 2016.
"Using youtube-dl to download entire youtube channel?". Ask Ubuntu. 4 December 2016. Archived from the original on 9 April 2017. Retrieved 25 October 2017.
This answer won't work on older versions of youtube-dl. You need to update youtube-dl to the latest version.
WikiHow community question and answers (15 September 2012). "wikiHow to Install YouTube DL.py to Download YouTube Videos to Your PC". wikiHow. Archived from the original on 11 October 2017. Retrieved 30 October 2017.
This article will cover the installation of the youtube-dl python script on Microsoft Windows and Ubuntu operating system.
- Latest youtube-dl downloads
Bolton, Daniel (20 October 2017). "How do I update youtube-dl?". GitHub. Archived from the original on 16 October 2017. Retrieved 25 October 2017.
If you have installed youtube-dl using a package manager like apt-get or yum, use the standard system update mechanism to update. Note that distribution packages are often outdated. As a rule of thumb, youtube-dl releases at least once a month, and often weekly or even daily. Simply go to https://yt-dl.org to find out the current version.
- "youtube-dl: Supported sites". rg3.github.io. Retrieved 21 September 2016.