Question

I'm researching video patterns, and for that i am required to download videos from youtube. I've found youtube-dl project very useful for this exactly, as it is a command line tool written in Python (which integrates nicely with the rest of my project which is python on ubuntu based).

Trying to download some videos, I have encountered this issue:

me@server:~/Desktop/YouTube/backend$ ./youtube-dl.py https://www.youtube.com/watch?v=8SbUC-UaAxE
[youtube] Setting language
[youtube] 8SbUC-UaAxE: Downloading video webpage
[youtube] 8SbUC-UaAxE: Downloading video info webpage
[youtube] 8SbUC-UaAxE: Extracting video information
[youtube] 8SbUC-UaAxE: Encrypted signatures detected.
ERROR: unable to download video

1) Is this because this video is copyright protected?
2) Has anybody got experience downloading such videos? I see tools like Free Video Downloader and this toolbar app that seems to tackle this just fine. I need to accomplish similar functionality usable within a python web framework, nodejs or alike.

Was it helpful?

Solution

Resolved.
Amazingly enough, this is fixed in an update that came out just today.

in order to fix this, just:

sudo youtube-dl -U

this will get you on the latest version which has this covered. Cheers.

OTHER TIPS

If you are still struggling with this, you can use tube_dl. It contains latest deciphering algos.

pip install tube_dl
from tube_dl import Youtube
Youtube('Your URL').Formats()

Full documentation can be found here : https://github.com/shekharchander/tube_dl

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top