Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to download purchased movie #1774
Comments
|
Might I recommend you obfuscate that password? |
|
It seems that they use itags 60 and 52 for those movies, could you try to run it from source after modifying youtube_dl/extractor/youtube.py? it should look like this: _available_formats = ['38', '37', '46', '22', '45', '35', '44', '34', '18', '43', '6', '5', '36', '17', '13',
# Apple HTTP Live Streaming
'96', '95', '94', '93', '92', '132', '151',
# 3D
'85', '84', '102', '83', '101', '82', '100',
# Dash video
'138', '137', '248', '136', '247', '135', '246',
'245', '244', '134', '243', '133', '242', '160',
# Dash audio
'141', '172', '140', '171', '139',
# Rented movies
'60', '52', # <= Modification
]If you prefer I can open a branch with that modification so that you can directly download the source and run it. |
|
Wow! Apologies that this has taken so long to respond. I will make the change and let you know later this evening. Thank you!
snafuxnj (snafoo-Ex-en-jay)
|
|
I added the following in the listed source (though it seemed quite different, which I suppose is because of the lapsed time since the question was asked) 232 # Rented movies $ sudo cp /usr/bin/youtube-dl /usr/bin/youtube-dl-orig Success! Just FYI. However, I'm hoping that the dictionary elements I used (guessed) are mostly accurate. Please verify. |
|
Oh, please note that the numbers in the front of the pasted lines are my editors line numbers, not the source I used. |
|
One thing to note is that the video that successfully downloaded was not decrypted. I will need to attempt to re-dl the movie, unless the reason that it isn't decrypted is because of the options I used in the _available_formats dictionary. |
|
Merci beaucoup je vais essayer : http://www.film-en-lignee.com |
|
I tried the fix as mentioned above but as memory serves, it did not work. I haven't really messed with it since, however, it would be nice to download the movie I purchased. If I get time, I'll look into it again. |
|
Ping. Any updates on this? |
|
Any updates on this? |
|
Version 2018.10.05 downloads the movie and the resulting video is multiple GBs big, but corrupt after exactly 11 seconds. Tried with a lot of movies. Has anyone experienced the same? Can it be restored somehow or is it just multiple GB of data garbage? |
|
@Fabian42 Yes. The movie is encrypted with some sort of DRM. A good movie to try is https://www.youtube.com/watch?v=s7_qI6_mIXc, as it is free to watch. |
|
@ealgase Not in Germany. :/ |
|
Confirmed for 2019.03.01. Has there been any research into the DRM since 2013? |
|
Doesn't appear to be much research. It should probably be easy to reverse engineer though. |
|
Still interested to see if there has been any further progress on this, as above after exactly 11 seconds the video turns to grey due to DRM protection. Unfortunately only avenue to purchase a TV show was via YouTube, assuming I'd be able to save it using yt-dl :( |
|
Unfortunately, nope, that's the same experience everyone faces here. |
|
For free official YouTube movies, you can use any from https://www.youtube.com/playlist?list=PLHPTxTxtC0ibVZrT2_WKWUl2SAxsKuKwx to test. I ran into the same problem today. :( |
|
The behaviour has changed in the lastest version, it now outputs this error message:
That's a weird way to word it for a YouTube downloader (if I use it, I obviously do not want or can not watch it on YouTube), but it's better than downloading 20 minutes and producing data garbage, I guess. |
|
I'm downloading a purchased tv show, something I grew up on in the 80's, and i'm able to use my credentials to download the file through user and password, but about 8-10 seconds in, the audio cuts out and the video gets super corrupted. Any changes or solutions??? Thanks |
Same here. |
Attempted to download a purchased movie to see if I could download it via youtube-dl
Unfortunately, the following trace occurred with the run args:
Also tried specifying mp4. I'll try other formats.