Suddenly I seem to be having problems downloading videos from youtube using youtube-dl.

You are watching: Youtube-dl unable to extract video data

I am running ubuntu 20.04.2

I did seem to upgrade youtube-dl using this suggestion:pip3 install --upgrade youtube-dl

and when I check for the version using the command

youtube-dl --version

gives 2021.01.16

However when I try to make use of youtube-dl I get the message;youtube-dl -f mp4 https://www.youtube.com/watch?v=5BXtgq0Nhsc

5BXtgq0Nhsc: Downloading webpage

ERROR: 5BXtgq0Nhsc: YouTube said: Unable to extract video data

I even tried removing youtube-dl and reinstall from the Software launcher with no luck.

(I had a similar problem running youtube-dl in windows but the problem was resolved there when I updated youtube-dl)

link


20.04 youtube-dl
Share
Improve this question
Follow
asked Apr 5 at 18:41
*

jimjim
11344 bronze badges
1
Add a comment |

1 Answer 1


Active Oldest Votes
1
Update it to the latest version with

sudo youtube-dl --updateand then try again.

Edit: Since you wrote you installed it with a package manager and thus you can"t update it so easily, for this particular software I"d recommend to install it from its upstream site https://youtube-dl.org/ to your /usr/local/bin directory and use it from there; then you can update it whenever needed (which is often because YouTube often changes some stuff to thwart software like youtube-dl).

You can either have a version from an official repo which is always slightly outdated, or a working one. As a general rule of thumb, you need to update it whenever you want to use it.

I just updated it, and it gives me

sh
balrog:~$ youtube-dl --version2021.04.01
Share
Improve this answer
Follow
edited Apr 5 at 21:15
answered Apr 5 at 21:03

*

HuHaHuHa
2,30166 silver badges1010 bronze badges
1
Add a comment |

Your Answer


Thanks for contributing an answer to Ask Ubuntu!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

See more: 1980S Norwegian Pop Band 1980 S Hyph, Norwegian Pop Band Of The 1980S Hyph


Draft saved
Draft discarded

Sign up or log in


Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Submit

Post as a guest


Name
Email Required, but never shown


Post as a guest


Name
Email

Required, but never shown


Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy


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


The Overflow Blog
Featured on Meta
Linked
93
How can I update youtube-dl?
Related
2
Chrome lags when I open 2 windows (instances) or more
0
WiFi connectivity issue with Intel 7265: disconnecting on a regular basis
2
OpenCL not working with RX 6700 XT
1
What other ways can you install deb files
Hot Network Questions more hot questions

Question feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.


*

Ask Ubuntu
Company
Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.9.14.40215


Ubuntu and Canonical are registered trademarks of Canonical Ltd.
Ask Ubuntu works best with JavaScript enabled
*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.