Youtube-dl not working
Have you installed via apt-get? It seems this version is outdated. This was happening to me:
$ sudo youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
You can install it from official sources: https://rg3.github.io/youtube-dl/download.html
Using curl:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
If you do not have curl, you can alternatively use wget:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
You can also use pip:
sudo pip install --upgrade youtube_dl
You can also use Homebrew:
brew install youtube-dl
The solutions above didn't work for me. I used the following commands from the official youtube-dl
website.
http://rg3.github.io/youtube-dl/download.html
Use wget:
sudo wget https://yt-dl.org/downloads/2014.09.25/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
This fixed it for me.