Hi,
My name is Giuseppe, nice to meet you.For several weeks i've been reading the forum on how to download(legally for personal use) from streaming websites, because the usual firefox/chrome extensions can't download some DRM protected movies, that are made available, on some italian famous streaming websites, after having been broadcasted on TV.
I'm having a problem obtaing the keys for decrypting a video from raiplay.
This is the link of the video
https://www.raiplay.it/video/2016/10/Le-paludi-della-morte-8d04c475-1da7-4044-8bbe-b7f7e612c41c.html
Authentication is needed (btw, i'm a registered user)
Basically, i've found the PSSH and i believe the license url, but i can't get the keys from cdrm-project.It seems i have a problem with proper header
formatting on cdrm-project.
So far i've obtained
PSSH
from Firefox by going to more tools, web developers tools, Under console, using EME logger extensions(install separately Tampermonkey) by finding
MediaKeySession::GenerateRequest
PSSH
AAAAenBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFoIARIQVJ CZBufdN8KbbWiGT9wDrBoFTmFncmEiPWRybV9yb290L0RSTU5h Z3JhX1JhaVBsYXlfbXVsdGlhdWRpby8yNDQ0MTAzM18sMTIwMC wxODAwLDI0MDA=
LICENSE URL
From more tools, web developers tools, Under network tab, by typing widevine, wide, wv or lic -> right click copy url
https://rai6nb5f.anycast.nagra.com/RAI6NB5F/wvls/contentlicenseservice/v1/licenses
HEADERS
Now here is where i'm having problems, to get the headers.I go to network tab, click on license, copy value as curl posix and go to
https://curlconverter.com/ select python and copy the output from the curly brackets onwards.Is that correct?.See below
{
'nv-authorizations': 'eyJhbGciOiJIUzI1NiIsImtpZCI6IjE5MDEwIiwidHlwIjoiS ldUIn0.eyJ2ZXIiOiIxLjAiLCJ0eXAiOiJDb250ZW50QXV0aFo iLCJleHAiOjE3Mjk4NjUxMTAsImNvbnRlbnRSaWdodHMiOlt7I mNvbnRlbnRJZCI6ImRybV9yb290L0RSTU5hZ3JhX1JhaVBsYXl fbXVsdGlhdWRpby8yNDQ0MTAzM18sMTIwMCwxODAwLDI0MDAiL CJzdG9yYWJsZSI6ZmFsc2V9XX0.YtkERCQlXrW1GjLT-mhxTKyNEDf_9pQUrNChgmo14ys'
}
[Attachment 83088 - Click to enlarge]
But cdrm-projects complains about not in the correct python dictionary format:
[Attachment 83087 - Click to enlarge]
or this other error:
An error occured 'NoneType' object is not subscriptable
b'{"status":"UNGRANTED_REQUEST","code":400,"errorC ode":4005,"message":"Invalid request"}'.
[Attachment 83086 - Click to enlarge]
What am i doing wrong?.
Thank you to anyone who will help.
Best regards,
Giuseppe.
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 1 to 7 of 7
-
-
when you find video with lic url like 'anycast.nagra' cdrm site does not work. need custom script or you can use the new Larley ext
https://forum.videohelp.com/threads/416316-%5BRelease%5D-WidevineProxy2-Extension-Bypa...s-Lic-wrapping
here your mpd and key
Code:mpd: https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_RaiPlay_multiaudio/24441033_,1200,1800,2400/manifest_mvnumber.mpd?hdnea=st=1729872872~exp=1729873022~acl=/*~hmac=04f2b7482b689bb50499bf2c5ae27c8e49e9471831f42fd37fd81469040c9c23 key: 54909906e7dd37c29b6d68864fdc03ac:39f9838ac7280f0c0988462837a40a15
-
this is the right key for all resolutions available:
f2356bf70e8235ef81ff280aa368f207:7fdee376ac5a6b773 a4912837f743ca0
and this is the MPD with 1080p resolution
https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_...e941edfb4d209e -
In this way:
{"Nv-Authorizations": "eyJhbGciOiJIUzI1NiIsImtpZCI6IjE5MDEwIiwidHlwI joiS ldUIn0.eyJ2ZXIiOiIxLjAiLCJ0eXAiOiJDb250ZW50QXV0aFo iLCJleHAiOjE3Mjk4NjUxMTAsImNvbnRlbnRSaWdodHMiOlt7I mNvbnRlbnRJZCI6ImRybV9yb290L0RSTU5hZ3JhX1JhaVBsYXl fbXVsdGlhdWRpby8yNDQ0MTAzM18sMTIwMCwxODAwLDI0MDAiL CJzdG9yYWJsZSI6ZmFsc2V9XX0.YtkERCQlXrW1GjLT-mhxTKyNEDf_9pQUrNChgmo14ys"}
but you have 10 seconds from when it appears on the screen before it expires -
Hi lomero,
Thanks for your answer and keys, what custom script are you referring to is needed?, anyway I'll give a shot to the widevineproxy2 extension. I made more tests with that url(nagra) and CDRM works with that license url too, thanks to Goku73, the problem was formatting in python dictionary
WRONG
{
'nv-authorizations': 'nv-autohorization code'
}
CORRECT
{
"nv-authorizations": "nv-autohorization code"
}
But now, i get only low resolution stream(720p max) not fullhd. -
Hi,
Fathom, thanks for your answer and keys how did you manage to get that fullhd stream?.
I only get 720p(max)
[Attachment 83106 - Click to enlarge]
Is it embedded somwhere else?
I only get https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_...ay_multiaudio/24441033_,1200,1800,2400/manifest_mvnumber.mpd?hdnea=st=1729937800~exp=1729 937950~acl=/*~hmac=20c442963eadedb387749e58b11a1bc562a5c070a83 17f1cb857b4803a8c71bf
those resolutions.
Where do i find these?
https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_...1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1729873308~exp=1729 873458~acl=/*~hmac=922e2517ff15dd333655ae3736a8db5ccad82d3cc35 c65b7abe941edfb4d209e
Thank you,
Giuseppe. -
Similar Threads
-
Please help me with video downloading
By Marsha0xGriffith in forum Video Streaming DownloadingReplies: 263Last Post: 15th Nov 2024, 12:15 -
Help downloading video
By Asdfgf in forum Video Streaming DownloadingReplies: 5Last Post: 26th Jul 2024, 08:35 -
Downloading an HLS stream: ONLY in sync when downloading with ffmpeg. Possi
By royjeon215 in forum Video Streaming DownloadingReplies: 6Last Post: 21st Jan 2024, 02:56 -
need help downloading a video
By swappyison in forum Video Streaming DownloadingReplies: 3Last Post: 25th Nov 2023, 18:36 -
need help downloading a video
By swappyison in forum Video Streaming DownloadingReplies: 6Last Post: 23rd Aug 2023, 09:33