python – Youtube_dl : ERROR : YouTube said: Unable to extract video data

python – Youtube_dl : ERROR : YouTube said: Unable to extract video data

Updating youtube-dl helped me. Depending on the way you installed it, here are the commands:

  • youtube-dl --update (self-update)
  • pip install -U youtube-dl (via python)
  • brew upgrade youtube-dl (macOS + homebrew)
  • choco upgrade youtube-dl (Windows + Chocolatey)

For ubuntu users:

sudo apt purge youtube-dl 
sudo pip3 install youtube-dl

python – Youtube_dl : ERROR : YouTube said: Unable to extract video data

I had the same error on Ubuntu 20.04.
I solved it by updating youtube-dl by downloading a .deb from:
https://packages.debian.org/sid/all/youtube-dl/download

Though you can also get the update on youtube-dls official site.

Leave a Reply

Your email address will not be published.