DevLARLEY / amzn-480p-downloader

Downloads any Video from Prime Video in 480p quality. (Only requires an L3 CDM)
GNU General Public License v2.0
18 stars 9 forks source link

running python amzn_480p_wks.py please help!! #6

Closed Kh4N02 closed 2 months ago

Kh4N02 commented 2 months ago

Hi brother, could you please share pywidevine?

I'm currently using WSK_KEYS but having issues, my folder looks like this: image

and I have added in folder device.wvd and replaced device_client_id_blob and device_private_key just in case.

my headers.py looks like this:

# amazon uk
cookies = {
    'ubid-acbuk': '',
    'x-acbuk': '""',
    'at-acbuk': ''
}

and when running command python amzn_480p_wks.py, I get this error: Traceback (most recent call last): File "D:\Scripts\WKS-KEYS\amzn_480p_wks.py", line 7, in from pywidevine.L3.cdm import deviceconfig ModuleNotFoundError: No module named 'pywidevine.L3'

Could you please help? Am I doing something wrong? If its a stupid mistake I'm sorry 😭

DevLARLEY commented 2 months ago

I will re-do that script soon, but for now: Don't post your amazon cookies publically!!!

Kh4N02 commented 2 months ago

Thanks, I'm beginner didn't know 👍

DevLARLEY commented 2 months ago

I'm not sure if I'll ever re-make this, but I've created a module for WidevineFetch

Kh4N02 commented 2 months ago

thanks, will it work for prime video though? if you could explain the steps (if you got time) 😄

DevLARLEY commented 2 months ago

You can look at the installation and usage instructions on its GitHub page: https://github.com/DevLARLEY/WidevineFetch/tree/main?tab=readme-ov-file#installation There's also a video at the bottom showing how to use it. To find the license URL for amazon, filter with regexp:https://.*\.(amazon|primevideo)\..*/cdp/catalog/GetPlaybackResources\?.*desiredResources=.*Widevine2License.* in the network tab and click 'Copy -> Copy as Fetch (Node.js)' The Node.js option is only available in chromium-based browsers Then click Process in WidevineFetch (It will also print the manifest so you can actually download it)

Kh4N02 commented 2 months ago

image followed all the steps, thats the issue I get https://streamable.com/lmn3p7

Kh4N02 commented 2 months ago

edit: I got it, love you brother ❤️ just changed device.wvd file, will this work always or its temporary? I'm new to this so don't know much its low quality tho, how to get 1080p?

DevLARLEY commented 2 months ago

This solution will always work (as long as amazon doesn't change anything about their licensing system) PS: You don't have to paste the fetch string. That LineEdit box is for entering the PSSH manually (not required for amazon)

Getting higher quality requires files that both of us don't have access to. The amzn-480p-downloader also would've only given you 480p (as the name suggests).

Kh4N02 commented 2 months ago

yes just was over-excited, sorry for being dumb. 2 weeks I've been researching about it, and finally I got to you, now next step is somehow be able to get it high quality 😈 ❤️

DevLARLEY commented 2 months ago

good luck

Kh4N02 commented 2 months ago

bro I've found this: https://github.com/ThatNotEasy/Widevine-KSKEY/releases/tag/2.3

owner of script said me to change in the services prime.py accordingly and add headers/params and I should be able to run it and get keys, as beginner I'm unable to do so, if by chance you are able to, please help! 😘

DevLARLEY commented 2 months ago
  1. This issue is closed
  2. Don't ask for help regarding a different script on this GitHub page
Kh4N02 commented 2 months ago

sorry, saw your posts on the forum and saw you are in search of downloading 1080p as well, tried to help you! 😄

DevLARLEY commented 2 months ago

It's not the downloader that enables you to get 1080p