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.
Amazon? #1753
Amazon? #1753
Comments
|
We won't add support for downloading for downloading a full movie if you have to pay for accessing it. But we would look to downloading the trailers (if they have them, I haven't seen it). |
|
@jaimeMF Why not? I see nothing wrong with downloading a movie the user bought. You'll just have to pass in |
|
Sorry, I didn't think about that option, I've no problem then. |
|
Anyone feel like working on this? I have Amazon prime and the streaming player is painful to use. Seeking back takes like 5-10 secs each use! If someone feel like making downloading of streaming video's on Amazon work I would be happy to assist with beta testing. I am a Linux administrator and have some experence coding though not much with Python. I could also offer a case of your favorite beverage* or gift card upon completion.+ * Provided its within reason
|
|
I could take a whack at it but:
That being said - I'll give it a go. |
|
Sounds good, let me know if I can help in any way. |
|
I forked the youtube-dl repo and started poking at this a bit. I am not sure how to go about making login work though. Is there a simple extractor with login somewhere to look at? I have been poking at the youtube one but its really long to try and read through. I am not sure how to deal with the cookies and put them back into whatever youtube-dl uses. Whats the normal practice in making logins work? I assume there must be some debugging option in youtube-dl that will show you cookies its getting and such? I have not figured out how to make python print the cookie(s) yet. Also is there a good way to view each webpage in the login process? I have just been printing things and piping them into files for viewing but thats a little painful. I looked at http://stackoverflow.com/questions/18265376/why-i-can-log-in-amazon-website-using-python-mechanize-but-not-requests-or-urll however I am not sure how to integrate that into youtube-dl. Any hints would be appreciated. |
|
@github18 for login implementation you can consult crunchyroll, facebook, noco, twitch, udemy or any other extractor with |
|
Some episodes of Amazon TV are available without login (a.k.a. free for a limited time). I would suggest getting it to work with these episodes first, and then working on login? For example, the new New Yorker show, first episode is free: |
|
Putting a sniffing proxy in front of Amazon Video while watching, you can get the Cloudfront URL where the video is sourced from (should be a file ending in .ism). Silverlight connects to Cloudfront using the Microsoft IIS Smooth Streaming Protocol. #!/usr/bin/env ruby
require 'net/http'
# Microsoft IIS Smooth Streaming Protocol: http://msdn.microsoft.com/en-us/library/ff469334.aspx
def video_segment_url(byte_offset)
"http://ds79lt46qzmj0.cloudfront.net/0/9/3/09366c76-aa8a-44f3-8f53-a97fc745ae5c/8911e9dc-8894-4ad0-96f2-160709d75152.ism/QualityLevels(300000)/Fragments(video=#{byte_offset})"
end
def audio_segment_url(byte_offset)
"http://ds79lt46qzmj0.cloudfront.net/0/9/3/09366c76-aa8a-44f3-8f53-a97fc745ae5c/8911e9dc-8894-4ad0-96f2-160709d75152.ism/QualityLevels(128000)/Fragments(audio_AACL_128k=#{byte_offset})"
endA (broken) implementation of a downloader is at https://github.com/ReneVolution/smoothget/, hopefully easy to fix and implement for someone? I'd appreciate some help, I'm happy to do the heavy lifting as needed if someone can point me in the right direction. |
|
Has any progress been made on this? I have a massive movie collection on Amazon and I wanted to put it on my Plex server. From what I am hearing it is:
Youtube-dl is a fantastic tool. It would be even more fantastic if this were implemented :) |
|
they have multiple formats(DASH, SmoothStreaming, HLS, MP4, WMV, MPEGPS, MPEGTS) and DRM protection(PlayReady, FlashAccess, Widevine2, Marlin, FairPlay, CENC). |
|
Someone was able to figure out the Widevine DRM on amazon: This is a Kodi plugin that provides DASH streams that are encrypted with widevine. |
|
Any news on this one? |
|
There is only one Firefox extension Video Download Helper which is able to identify all the video resolutions of Amazon Prime Video and download them. But it uses the native downloader of Firefox which sucks. It is painfully slow. But it works. So for now that is the only option for Amazon Prime Videos. |
|
@DJD-Code-Studio That doesn't work. It detect the video in parts. |
|
Yes, it detects the video in parts but if you allow the extension a few minutes after the streaming has started, it detects the full file.. Hope this helps ! |
|
Ok. I'll try and report the results @DJD-Code-Studio |
|
@antonio8909 @DJD-Code-Studio From what I've been reading and experimenting with, although that plug-in finally detects the full file, the video is no good. |
|
Just so everyone knows, wvdecrypter source is here now https://github.com/peak3d/inputstream.adaptive |
|
Anybody got luck to download amazon DRM videos? I've tried every step from this thread but with no luck |
|
How any of these sites are being ripped from is not public information and probably never will be. |
|
widevine decrypter is here https://github.com/tsukasachandesu/video_decrypter Youtube-dl pls support (At least)downloading drm protected dash in any form (encrypted so that we can decrypt it manually or Decrypted |
|
@ghoshben i've tried to install it, without luck... So hard. It would be great if someone can merge it with yt downloader! |
|
@ghoshben Sadly, that doesn't work as I read kametsu. |
|
I don't think that this will be merged into yt-dl |
|
Why https://github.com/tsukasachandesu/video_decrypter was deleted? |
|
Threats from lawyers who don't understand open source. |
|
Damn.. Tatsh, do you know forums where i can find it? |
|
Hopefully someone can base some work on this nice effort. Just sad that it requires Windows so far. |
|
How to use this program? |
|
I repost the new link for info |
|
@IDerr can you please write mini guide how to use it after compilation? Do this please when you will be have free time, thanks so much in advance |
|
@lderr I'm also interested in this |
|
Give it a Guide? |
can you explain a little how use? for noobs lol |
|
@ghoshben Please explain the arguments of
I understand {encrypted_file} and {decrypted_path} .But what about {info_path} and {stream_id} ? |
@ghoshben I'm not sure if it's helpful to you, but the source has a directory of python_scripts which you could look at. It has several examples which in my investigation seem to login to a site (site.tv), download, and decrypt.
|
|
@michaelsmoody the project is useless with latest widevine library |
$ youtube-dl -ct http://www.amazon.com/gp/product/B001FCK5GG/ref=avod_yvl_watch_now
[redirect] Following redirect to http://www.amazon.com/Worlds-Fastest-Indian-Anthony-Hopkins/dp/B001FCK5GG
WARNING: Falling back on generic information extractor.
[generic] B001FCK5GG: Downloading webpage
[generic] B001FCK5GG: Extracting information
ERROR: Unsupported URL: http://www.amazon.com/Worlds-Fastest-Indian-Anthony-Hopkins/dp/B001FCK5GG; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
doug@thebadpipsissewah:~$ youtube-dl -ct --verbose http://www.amazon.com/gp/product/B001FCK5GG/ref=avod_yvl_watch_now
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-ct', '--verbose', 'http://www.amazon.com/gp/product/B001FCK5GG/ref=avod_yvl_watch_now']
[debug] youtube-dl version 2013.11.07
[debug] Python version 2.7.5+ - Linux-3.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy
[debug] Proxy map: {}
[redirect] Following redirect to http://www.amazon.com/Worlds-Fastest-Indian-Anthony-Hopkins/dp/B001FCK5GG
WARNING: Falling back on generic information extractor.
[generic] B001FCK5GG: Downloading webpage
[generic] B001FCK5GG: Extracting information
ERROR: Unsupported URL: http://www.amazon.com/Worlds-Fastest-Indian-Anthony-Hopkins/dp/B001FCK5GG; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 348, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 125, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 212, in _real_extract
raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.amazon.com/Worlds-Fastest-Indian-Anthony-Hopkins/dp/B001FCK5GG; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.