Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error when I try to download video using youtube-dl.

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden
share|improve this question
1  
did you try the updated version. Try running sudo youtube-dl -U to update it – Stormvirux Jul 11 '14 at 11:53
    
yes i have tried the updated version still doesn't work – abhi Jul 11 '14 at 12:30
1  
I suggest you to install DownloadHelper in firefox. It is fast and effective. CLI takes a long time! – A Umar Mukthar Sep 11 '14 at 12:46
1  
Possible duplicate of Cannot update youtube-dl – David Foerster Jan 15 at 2:58
up vote 12 down vote accepted

Did 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.

I downloaded from the official website and now it works, no more error 403 :)

$ sudo youtube-dl -U
youtube-dl is up-to-date (2014.09.10.1)
share|improve this answer

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.

share|improve this answer
    
This is how youtube-dl should always be downloaded, in my opinion – geoffmcc Jan 1 '15 at 14:41
    
confirm: the apt-get version of youtube-dl does not work, you have to download youtube-dl from its website, where you will find updated instructions to download the latest version - this post was copied from there but has an old download link. Note that you can also download it without sudo, like this mkdir youtubedl; cd youtubedl; wget 'wget https://yt-dl.org/downloads/2016.03.14/youtube-dl -O youtube-dl' -O youtube-dl; ./youtube-dl (use the latest download url as indicated in the youtube-dl webpage – zipizap Mar 16 at 9:25

Those facing new problems with the youtube-dl with this error Warning: Falling back to static signature algorithm should first install python-pip with sudo apt-get install python-pip (if they have not already installed it, of course) and then use sudo pip install youtube-dl --upgrade to fix the error.

This is what worked for me this morning (as at the time of posting this answer).

share|improve this answer

Install pip-python if you haven't already, then type :

sudo pip install --upgrade youtube_dl

This fixes the problem all right.

share|improve this answer

Following fixed the issue. It is now working beautifully.

$ sudo apt-get install yasm
$ git clone git://git.libav.org/libav.git
$ cd libav
$ ./configure
$ make
$ sudo make install

Source: http://www.tecmint.com/record-ubuntu-desktop-screen-using-avconv/

share|improve this answer
    
-1 How is the installation of an upstream version of avconv from source going to alleviate a networking issue of youtube-dl? O.o – David Foerster Jan 15 at 2:57

Try to clear youtube-dl cache:

youtube-dl --rm-cache-dir

Source: https://github.com/rg3/youtube-dl/issues/6610:

share|improve this answer

I downloaded youtube-dl from https://yt-dl.org/downloads/2014.09.25/. I then did a chmod 777 youtube-dl, and ran the command. It asked me to upgrade via ./youtube-dl -U which upgraded me to the version 2015.12.13. I ran ./youtube-dl with the URL again and the problem had been solved.

Trying a pip upgrade on the default pip installation of youtube-dl did not do the upgrade or solve the problem, indicating that the pypi version might be outdated on bug fixes.

share|improve this answer

I tried this and everything is working good now :

apt-get remove youtube-dl
apt-get update
apt-get install youtube-dl

Now it's work again, since those lines will re-installing the latest youtube-dl from server

share|improve this answer
    
You could also just do apt-get install --reinstall youtube-dl to achieve the same, I think... – Byte Commander Feb 17 at 9:01

protected by Byte Commander Feb 17 at 9:02

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.