Ubuntu 16.04: Verify latest youtube-dl version:
$ sudo apt-get install youtube-dl
youtube-dl is already the newest version (2016.02.22-1).
0 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.Why does video's URL fail?
$ youtube-dl -F
[youtube] ZFzSCJHp0lo: Downloading webpage
[youtube] ZFzSCJHp0lo: Downloading video info webpage
WARNING: Unable to extract video title
ERROR: This video is unavailable.Python Version
$ readlink -f $(which python) | xargs -I % sh -c 'echo -n "%: "; % -V'
/usr/bin/python2.7: Python 2.7.12 12 1 Answer
See youtube-dl: Download Page.
To install it right away for all UNIX users (Linux, OS X, etc.), type:
sudo curl -L -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dlIf you do not have curl, you can alternatively use a recent wget:
sudo wget -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dlYou can also use pip:
sudo pip install --upgrade youtube_dl
The above steps will install latest version of youtube-dl that can be checked using youtube-dl --version. As of now the output of youtube-dl --version is:
2020.01.01 4