VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Oct 2024
    Location
    Italy
    Search Comp PM
    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'
    }

    Image
    [Attachment 83088 - Click to enlarge]


    But cdrm-projects complains about not in the correct python dictionary format:

    Image
    [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"}'.

    Image
    [Attachment 83086 - Click to enlarge]


    What am i doing wrong?.

    Thank you to anyone who will help.

    Best regards,
    Giuseppe.
    Quote Quote  
  2. 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
    Quote Quote  
  3. 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
    Quote Quote  
  4. 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
    Quote Quote  
  5. Member
    Join Date
    Oct 2024
    Location
    Italy
    Search Comp PM
    Originally Posted by Goku73 View Post
    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
    Success, Thank you Goku73, so basically the syntax for headers in CDRM is this:

    {
    "nv-authorizations": "nv-authorization code"
    }

    I confirm you have only 10 seconds to decrypt before it expires.

    Best regards,
    Bye,
    Giuseppe.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!