Youtube-dl Playlist Error

5,681

Solution 1

You would be best to remove the Repository youtube-dl which rarely copes with downloading videos or upgrading itself and install instead directly from the developer's website:

sudo apt-get remove youtube-dl
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

And then from time to time update your version with:

sudo youtube-dl -U

Current version reports the following:

andrew@ilium~$ youtube-dl --version
2016.08.01
andrew@ilium~$ 

And this version has no issues with any current YouTube videos and/or playlists that I tested it with...

References:

Solution 2

If you installed through a package manager through the terminal, then I'm assuming you used apt.

In that case, try running

sudo apt-get update && sudo apt-get upgrade

to upgrade all installed packages, or use:

apt-get install --only-upgrade youtube-dl

to just upgrade the youtube-dl package.

Let me know if that works.

Solution 3

To fix erorrs while using youtube-dl command, try below fix:

Uninstall youtuble-dl using command : sudo apt-get remove youtube-dl

Install pip using command : sudo apt-get install python-pip

Once done - install youtube-dl : sudo pip install youtube-dl

This worked for me, Hope it does for you as well! :)

Share:
5,681

Related videos on Youtube

Nick
Author by

Nick

Updated on September 18, 2022

Comments

  • Nick
    Nick almost 2 years

    I got the following when I tried to update youtube-dl:

    amrat@amrat-GA-78LMT-USB3:~$ sudo youtube-dl -U
    [sudo] password for amrat: 
    It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
    amrat@amrat-GA-78LMT-USB3:~$ 
    

    What does it mean?

    I installed the program using the terminal.

    I also get this error:

    WARNING: unable to set language: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>
    [youtube] ST_WC13rNJo: Downloading webpage
    ERROR: Unable to download webpage: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>
    

    Please advise.

  • Nick
    Nick almost 8 years
    amrat@amrat-GA-78LMT-USB3:~$ sudo apt-get update youtube-dl E: The update command takes no arguments
  • William
    William almost 8 years
    Answer edited above. Sorry, I gave you the wrong command originally.