You can get YouTube-DL by downloading it from its official site. Alternatively, you can install it through the Python package manager by typing pip install youtube_dl
in a command line.
YouTube-DL requires a recent version of Python installed on your system. In addition, YouTube-DL requires ffmpeg or avconv to download videos from some sites.
YouTube-DL is a command-line program. Once installed, you can use it by typing youtube-dl <video url>
. Additional options, such as selecting video quality, downloading subtitles, or downloading only audio, are documented in the project’s README file or by typing youtube-dl --help
.
YouTube-DL also provides a Python module for use within scripts.
We hope you enjoyed this introduction to YouTube-DL. Happy archiving!
Note: Data Horde only endorses the use of YouTube-DL for legitimate archiving purposes, and does not condone piracy or other violations of copyright and/or other laws.
]]>