Usage of youtube-dl
Method for installation
To install it right away for all UNIX users(Linux, macOS, etc.), type:
1. sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl 2. sudo chmod a+rx /usr/local/bin/youtube-dl
If you do not have curl, you can alternatively use a recent wget:
1. sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl 2. sudo chmod a+rx /usr/local/bin/youtube-dl
Windows users can download an youtube-dl.exe file and place it in any location on their PATH except for %SYSTEMROOT%\System32 (e.g. do not put in c:\windows\System32).
You can also use pip:
sudo -H pip install --upgrade youtube-dl
This command will update youtube-dl if you have already installed it. See pypi page for more information.
DESCRIPTION
youtube-dl is a command-line program to download videos from youtube and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It could work on your Unix box, on Windows or on macOS. It