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 https://www.youtube.com/watch?v=ZFzSCJHp0lo
[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
youtube-dl
re-packaged, so you can file request - or provide details so others of us can) FYI: My Ubuntu packaged version is from 2019 not 2016 – guiverc Jan 04 '20 at 04:18ubuntu-support-status --show-unsupported
I bet you'll find it listed there) so it no longer gets updates. Only 'main' repository still gets updates for 16.04 being given 5 years of support; 'universe' had 3 years (why all flavors of 16.04 are now EOL). A bug can still be filed, but it may not be actioned anymore for xenial. – guiverc Jan 04 '20 at 04:23sudo apt-get remove youtube-dl
2. Download and install:sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
3. Adjust permissions:sudo chmod a+rx /usr/local/bin/youtube-dl
And then all should be well :) Other choices described here: http://ytdl-org.github.io/youtube-dl/download.html – andrew.46 Jan 04 '20 at 06:29youtube-dl -U
. Mind you I am not exactly a mainstream Ubuntu user so perhaps karel's advice should be noted carefully :) – andrew.46 Jan 04 '20 at 08:55