yes, agree python version issue, i now use 3.11.7
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 31 to 60 of 62
-
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
I modified the nba download script to not need anymore external cookies. Works directly with email/password now.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Hello, good afternoon to everyone on the forum, it's a great pleasure to be part of this knowledge here
I'm having a lot of trouble getting the video keys
I've been trying to run None of this worked for me here, everything gives errors I've never seen anything like it, for several hours now and every time a different error appears, I would like to know If anyone could help me? -
Pssh:AAAAenBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFoIA RIQjTmk917NQSndghu9MKWfQhoMbWVkaWFraW5kbmJhIjROQkF fMjAyMzEwMThfbmJhX2FwcF9wZXJndW50YXMtMTE5NTI1N19Ka XRwX1JlYWNoX0hEMgA=
https://nbalpng.akamaized.net/vod/hls-wvpr/NBA_20231018_nba_app_perguntas-1195257/index.m3u8
https://ottapp-appgw-amp.nba.com/v1/client/get-widevine-license?ownerUid=azuki&mediaId...e&is_dvr=false
Authorizationtoken:AuthToken1pVFdb9QwEPw1l7ec_B37I Q-hlF6pSoVoqcSbPzY5q0kc2U6vx6_HLVeQECAkLGs9Ws-ORjvd6jzMFtp9zkva0G5D3pUbYTz6eVh0zMftEoPT29nobX6kd gyr29owFVZ1mdIK8ZfZlNNfRp65P6l2D5NO26dpTEEv2xCH0j2 kUghCvDwvxTuYs8_HAu2o_fT8P-sJ2jXVVhkM4EgtG6NqZjmtNeey5k4ZIYBy0tvqFmY950vXOuj1 OubqLTx6C6XxEEJifB7qPARV89Hw2sdhrc2wX8Tghr1F7sS-PS7QXoZ0q80IuerGMRzAvUqnH9p3CWJR_ldvnbVhfTGnjekRiL 5hkmEBVlNlmwaMExgsM4ojCo0EY7XppdYINFPa9sCoc8Lwvvh8 cXAy8N9yv41q8jaGFPp8CvQ1LPkclvhDWDGM0KbVJBu9gVh1a9 6H6L_q7MN8rdNDi7nCjDLKBceY4oZwJlVDCMWKIaEkEUJKSjDj SkjCOeaYCMUlUlJwRDChilCGMC2YN4QRybEoQFbnT4uPkG7mFj eYU8aRwNVZBJ3BfW8W7XJwdQXHi9WXxUmhmRS2xsiKmrEe11rQ EqAiZU9lN4zYanfdnX3adYSL9iJ9uF7683le1vc3Bqe7wxTp02 fyRSE4UP9x3JD-zdWGmPsClt19t6HuGw
Azukiimc:IMC7.2.0_AN_D3.0.0_S0
Deviceprofile:eyJtb2RlbCI6IkRlc2t0b3AiLCJvc1ZlcnNp b24iOiIxMCIsInZlbmRvck5hbWUiOiJNaWNyb3NvZnQiLCJvc0 5hbWUiOiJIVE1MNSIsInd2TGV2ZWwiOiJMMyIsImRldmljZVVV SUQiOiIxOGI0Yjc4YzdjZjA0NTkzYjEyMTFkZDI1MDc5OTQzNS J9
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
I have all the video data including KID KEY:--Key:8d39a4f75ecd4129dd821bbd30a59f42 I managed to convert phss em base x64 hex by extracting it
0000007a7073736800000000
edef8ba979d64acea3c827dcd51d21ed
0000005a08011210
"\\\\\"8d39a4f75ecd4129dd821bbd30a59f42"/////"
1a0c6d656469616b696e646e626122344e42415f3230323331 3031385f6e62615f6170705f70657267756e7461732d313139 353235375f4a6974705f52656163685f48443200 -
Hello I have tried to get this script to work but it gives this error:
in get_pssh_info
v_m3u8 = re.findall(r'^v.*?\.m3u8\?.*?$', requests.get(manifest).content.decode(), re.MULTILINE)[-1]
IndexError: list index out of range
I manually retrieved the pssh and I was able to get the key and download but I want the script to not fail.Last edited by totis; 16th Apr 2024 at 10:57.
-
[Attachment 78426 - Click to enlarge]
I have already emulated an Android device, I have already connected the server frida and I already rode dumper-main , however, I was unable to extract the device_client_id_blob and device_private_key files from the computer, they do not appear anywhere on the PC every time there is a different error -
[Attachment 78427 - Click to enlarge]
it feels like i'm going around in a circle i can't just get this last key in the video -
Code:
N_m3u8DL-RE.exe "https://nbalpng.akamaized.net/vod-pz/a/hls-wvpr/NBA_20231018_nba_app_perguntas-1195257/index.m3u8?addUserInfo=1&sessionId=sessionId" --key 8d39a4f75ecd4129dd821bbd30a59f42:de364968b3d996c4af2681e8c3098fd9 -M format=mkv
Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 16th Apr 2024 at 11:01.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Try to dump them with KeyDive: https://github.com/hyugogirubato/KeyDive/releases
And no, there's no way to get the KEY part of the kid:key pair without making a license request, so you either need an L3 script with your CDM or an online service like cdrm-project (unless, if you're lucky, you find the key already cached in cdrm-project-like sites).
Btw as Pepe said, use his updated script or if you want to go the manual way for some reason, here's what you need:
PSSH:Code:AAAAenBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFoIARIQjTmk917NQSndghu9MKWfQhoMbWVkaWFraW5kbmJhIjROQkFfMjAyMzEwMThfbmJhX2FwcF9wZXJndW50YXMtMTE5NTI1N19KaXRwX1JlYWNoX0hEMgA=
Code:https://ottapp-appgw-amp.nba.com/v1/client/get-widevine-license?ownerUid=azuki&mediaId=NBA_20231018_nba_app_perguntas-1195257_Jitp_Reach_HD&sessionId=<your_session_id>&is_dvr=false
Code:headers = { 'AuthorizationToken': 'AuthToken1fZDL.....', 'AzukiIMC': 'IMC7.2.0_AN_D3.0.0_S0', 'DeviceProfile': 'eyJtb....', }
-
#####de364968b3d996c4af2681e8c3098fd9#####Dude, this is really impressive, it seems like witchcraft, there must be some final part of the process going wrong, I can't understand.
This video was just a random one that I took to study key issues without any kind of programming
It really is this video key, it worked amazingly, as I would have liked, I got my own keys, I spent night and night looking for this code, analyzing each browser script, I never got even close to it. -
With all the humility in the world, could you teach me?
sample What is DRM itself, how do you do it or where does it matter, whether there is a way to do it or not, How can I actually make the files evice_client_id_blob e device_private_key If you really need them or not? what would be file WVD_FILE = "./device_wvd_file.wvd" I believe I'm making a mistake by not understanding what each file means -
I installed package KeyDive I reconnected everything again and it still gives me an error
-
The WVD_FILE is the local path to your cdm in wvd format. What are even these words and how to get one / convert one => read the sticky threads.
After getting one and setting the path, you set your account credentials as well. The email / password in the 2 variables at the start of the script.--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
[Attachment 78432 - Click to enlarge]
@2nHxWW6GkN1l916N3ayz8HQoi done, this was very easy but I don't have my own files I even tried to make them I emulated everything, virtual android cell phone, server "FRIDA" I executed "dump_keys" and in the program "ANDROID STUDIO" I accessed "https://bitmovin.com/demos/drm" play video phone virtual but I searched with the computer all morning I couldn't find the directory of the files -
however I am using two files that came within WKS-KEYS google_android_sdk_built_for_x86_v4.1.0-android_b055e439_4464_l3.wvd?
-
I dunno wks-keys so I can't assist you. I did encounter this issue once though with someone else. The wvd generated from a cdm from wks-keys couldn't be used at all but the one you dumped on your own, it could. So I recommend getting your own one. If you can't get one, stick to manual.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
@2nHxWW6GkN1l916N3ayz8HQoi
[Attachment 78433 - Click to enlarge] these errors be related to the WKS-KEYS CDR? Is this how I can get my own CDR to generate keys? -
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
I would like to thank everyone here in the group again for their attention and all their help, after brainstorming I managed to generate my own device_client_id_blob and device_private_key files and then I just had to do the conversion to device_wvd_file.wvd format and put them inside the root of pywidevine-master on the first attempt I was rewarded with the my first two keys " but soon after the third attempt the next error occurred
[Attachment 78472 - Click to enlarge] -
import requests
from pywidevine.cdm import Cdm
from pywidevine.device import Device
from pywidevine.pssh import PSSH
LICENSE_URL = "https://ottapp-appgw-amp.nba.com/v1/client/get-widevine-license?ownerUid=azuki&mediaId=NBA_g0052300111atl1 000436chiV_Jitp_Reach_HD&sessionId=5d18f7a5-2f2f-4eaf-bd13-f482db597f0a&is_dvr=false"
PSSH_VALUE = "AAAAcXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFEIARIQe LHV1fdkvQXBWDnVam+HahoMbWVkaWFraW5kbmJhIitOQkFfZzA wNTIzMDAxMTFhdGwxMDAwNDQ1Y2hpVl9KaXRwX1JlYWNoX0hEM gA="
WVD_FILE = "./device_wvd_file.wvd"
LICENSE_HEADERS = {
"AuthorizationToken": "AuthToken1pVFdb9QwEPw1l7ec_B37IQ-hlF6pSoVoqcSbPzY5q0kc2U6vx6_HLVeQECAkLGs9Ws-ORjvd6jzMFtp9zkva0G5D3pUbYTz6eVh0zMftEoPT29nobX6kd gyr29owFVZ1mdIK8ZfZlNNfRp65P6l2D5NO26dpTEEv2xCH0j2 kUghCvDwvxTuYs8_HAu2o_fT8P-sJ2jXVVhkM4EgtG6NqZjmtNeey5k4ZIYBy0tvqFmY950vXOuj1 OubqLTx6C6XxEEJifB7qPARV89Hw2sdhrc2wX8Tghr1F7sS-PS7QXoZ0q80IuerGMRzAvUqnH9p3CWJR_ldvnbVhfTGnjekRiL 5hkmEBVlNlmwaMExgsM4ojCo0EY7XppdYINFPa9sCoc8Lwvvh8 cXAy8N9yv41q8jaGFPp8CvQ1LPkclvhDWDGM0KbVJBu9gVh1a9 6H6L_q7MN8rdNDi7nCjDLKBceY4oZwJlVDCMWKIaEkEUJKSjDj SkjCOeaYCMUlUlJwRDChilCGMC2YN4QRybEoQFbnT4uPkG7mFj eYU8aRwNVZBJ3BfW8W7XJwdQXHi9WXxUmhmRS2xsiKmrEe11rQ EqAiZU9lN4zYanfdnX3adYSL9iJ9uF7683le1vc3Bqe7wxTp02 fyRSE4UP9x3JD-zdWGmPsClt19t6HuGw",
"AzukiIMC": "IMC7.2.0_AN_D3.0.0_S0",
"DeviceProfile": "eyJtb2RlbCI6IkRlc2t0b3AiLCJvc1ZlcnNpb24iOiIxMCIsI nZlbmRvck5hbWUiOiJNaWNyb3NvZnQiLCJvc05hbWUiOiJIVE1 MNSIsInd2TGV2ZWwiOiJMMyIsImRldmljZVVVSUQiOiIxOGI0Y jc4YzdjZjA0NTkzYjEyMTFkZDI1MDc5OTQzNSJ9"
}
pssh = PSSH(PSSH_VALUE)
device = Device.load(WVD_FILE)
cdm = Cdm.from_device(device)
session_id = cdm.open()
challenge = cdm.get_license_challenge(session_id, pssh)
licence = requests.post(LICENSE_URL, headers=LICENSE_HEADERS, data=challenge)
licence.raise_for_status()
cdm.parse_license(session_id, licence.content)
for key in cdm.get_keys(session_id):
print(f"[{key.type}] {key.kid.hex}:{key.key.hex()}")
cdm.close(session_id) -
This morning I tried again "it only generated two more keys and started showing the same error again
Similar Threads
-
Can't decrypt widevine key
By Nethsara Devinda in forum Video Streaming DownloadingReplies: 3Last Post: 24th Sep 2023, 07:47 -
how to get widevine key? (for win11)
By Bobs47 in forum Video Streaming DownloadingReplies: 10Last Post: 13th Aug 2023, 13:27 -
Sincerely request for NBA League Pass download games Widevine Key obtain
By tmactalk in forum Video Streaming DownloadingReplies: 1Last Post: 30th Sep 2022, 04:20 -
Widevine key help
By jhynpls in forum Video Streaming DownloadingReplies: 11Last Post: 28th Jul 2022, 14:56 -
Widevine key not found
By DANNY14596 in forum Video Streaming DownloadingReplies: 15Last Post: 3rd Jun 2021, 23:54