VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hello,
    solved my issues with Mediaset but I don't understand how to find the key from Raiplay

    I have these episodes.
    Please help me with the keys - the expire in 6 days.

    Code:
    Leoni di sicilia:
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E1-6e605604-d0ce-418a-8f67-eafc10bd0994.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E2-c1b6139f-2d46-4e95-8705-6dbab0f48425.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E3-6dc4c0f4-5951-444c-bdf4-d6b64a07606e.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E4-d0c06dbe-8bc4-4d05-beeb-de527d83de63.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E5-bed548e8-6ecf-4ce4-a83d-30cfb277bb3a.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E6-6df3d30a-ab95-4dae-9c8d-dd75a3d73a89.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E7-b0f15e77-2aec-43a7-93d1-26bac4cf4e97.html
    
    https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E8-58097cb5-3a94-4904-a5d7-5d01b2891cc8.html
    I'm able to find the mpd file link and if I add 5000 after 2400 I can download in 1080 resolution.
    I can also find inside the mpd file the <cencssh> code

    As in Mediaset I have to copy the url when I search in the console lic or getRawWidevine, what do I have to search in Raiplay?
    I red something like wv bu what do I have to do with it?
    To copy the url path, to double click it or what else?
    I red also for some header and that I have to be very fast to paste it into the site that provides the key, but I don't understand nothing more and I didn't find the step by step explain.
    Please help me you to learn it and to be able in the future to do all by myself.

    As always thanks in advance for your help.

    PS - I guess I have to paste these parts (in the screen I'm trying to find the code of episode 5:
    Is right what I suppose?

    Image
    [Attachment 82605 - Click to enlarge]
    Last edited by alba77; 2nd Oct 2024 at 11:04.
    Quote Quote  
  2. Code:
    e22943e1f8b631d2bd50cfcd7e62a3a5:d709a1b51bbdc704a45c4db3ddf58738
    7184f5509c3c3ad2b8d35b314323b0e9:5bc37cfeb8d9ec4b72c4c4ec39a07cec
    6fe9e5ae057e38fabd033b168e5f201f:2fadf9729989ba0870fbf43f75016a04
    08edb88912c53bc38bd8c64976c6dd8e:d39fa288d0818eff47b895c7cd2ab853
    40158c1ff4cb3a0f80281357746e73c4:15c3bdf9091e62908d6f14559e02d862
    6c90377bcb0236929899b2527e64f0f2:edfb65f54aaebb2822e7d4e7926d305d
    3293ba98cee73c63a2640b3330fb1805:3753a2d2b995126af885d985d6e61735
    29065877d7ff35b19f4c892fe2d88d28:37e2e590277072c5ac2bafe57b5782ae
    Install Widevine L3 Guessor

    https://forum.videohelp.com/threads/414140-%5BRelease%5D-Widevine-L3-Guesser-Extension...-Chrome-All-OS


    Image
    [Attachment 82606 - Click to enlarge]
    Quote Quote  
  3. Originally Posted by cedric8528 View Post
    Code:
    e22943e1f8b631d2bd50cfcd7e62a3a5:d709a1b51bbdc704a45c4db3ddf58738
    ..........
    Install Widevine L3 Guessor

    https://forum.videohelp.com/threads/414140-%5BRelease%5D-Widevine-L3-Guesser-Extension...-Chrome-All-OS
    Thank you very much for your replay.

    I'm not able to install the extenstion.
    I downloaded the code as zip and I wet to firefox to install the addon as it was described in github
    Firefox

    1. Navigate to about:debugging#/runtime/this-firefox

    2. Load temporary addon
    I click on load but I don't see the zip file

    There's also written:
    At the same directory of manifest.json(root directory of this extension), put the one of the following Android L3 CDM key pair file(s).
    And there is a guide how to do it but I don't understand it at all


    And at he end, if I try to download and encrypt the videos they download but don't encrypt.
    The command I used is the same I use for Mediaset. The example is for the episode 5:

    Code:
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24266718_,1200,1800,2400,5000/manifest_mvnumber.mpd?hdnea=st=1727882151~exp=1727882301~acl=/*~hmac=4ba3810c35446213d60de9e5d08bcc9496bd079a052d40b34a8d1f02496781fc" --key 40158c1ff4cb3a0f80281357746e73c4:15c3bdf9091e62908d6f14559e02d862 -M format=mp4 --use-shaka-packager --save-name 05_I_leoni_di_Sicilia
    or
    Code:
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24266718_,1200,1800,2400,5000/manifest_mvnumber.mpd?hdnea=st=1727882151~exp=1727882301~acl=/*~hmac=4ba3810c35446213d60de9e5d08bcc9496bd079a052d40b34a8d1f02496781fc" --key 40158c1ff4cb3a0f80281357746e73c4:15c3bdf9091e62908d6f14559e02d862 -M format=mp4 --save-name 05_I_leoni_di_Sicilia
    Edit:
    I loaded the temporary addon choosing the file manifest.json but when the raiplay video is plaing I open the add-on and there is an error:

    Image
    [Attachment 82608 - Click to enlarge]
    Last edited by alba77; 2nd Oct 2024 at 11:40.
    Quote Quote  
  4. @cedric8528,
    can you please give me the command to download and decrypt the episodes.
    Thanks
    Quote Quote  
  5. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by alba77 View Post
    I'm able to find the mpd file link and if I add 5000 after 2400 I can download in 1080 resolution.
    It doesn't work like that, you can't decrypt 1080p videos without the key and you can't obtain the key without properly fetching the manifest.
    Here are you keys and download commands for the best resolution available :
    Code:
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E1-6e605604-d0ce-418a-8f67-eafc10bd0994.html
    name:  I.leoni.di.Sicilia.S1E1
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24157755_,1200,1800,2400/manifest_mvnumber.mpd?hdnea=st=1727890122~exp=1727890272~acl=/*~hmac=b22a14e3bca2ecbd10e767f8b47cd1a4348d106a57c7e11e33d35f5b38c887c1
    pssh:  AAAAeXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFkIARIQ4ilD4fi2MdK9UM/NfmKjpRoFTmFncmEiPGRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MTU3NzU1XywxMjAwLDE4MDAsMjQwMA==
    keys:  ['e22943e1f8b631d2bd50cfcd7e62a3a5:d709a1b51bbdc704a45c4db3ddf58738']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24157755_,1200,1800,2400/manifest_mvnumber.mpd?hdnea=st=1727890122~exp=1727890272~acl=/*~hmac=b22a14e3bca2ecbd10e767f8b47cd1a4348d106a57c7e11e33d35f5b38c887c1" --save-name "I.leoni.di.Sicilia.S1E1" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key e22943e1f8b631d2bd50cfcd7e62a3a5:d709a1b51bbdc704a45c4db3ddf58738
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E2-c1b6139f-2d46-4e95-8705-6dbab0f48425.html
    name:  I.leoni.di.Sicilia.S1E2
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24167955_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890127~exp=1727890277~acl=/*~hmac=3676c8c5122d6f0db6a4905400439cc52d698c1084813b651616cb8a831806de
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQkvgkZTy2P364YUTP/mbZZRoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MTY3OTU1XywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['92f824653cb63f7eb86144cffe66d965:85f3109d266f5a0a2ccccdd18ed897f9']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24167955_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890127~exp=1727890277~acl=/*~hmac=3676c8c5122d6f0db6a4905400439cc52d698c1084813b651616cb8a831806de" --save-name "I.leoni.di.Sicilia.S1E2" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 92f824653cb63f7eb86144cffe66d965:85f3109d266f5a0a2ccccdd18ed897f9
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E3-6dc4c0f4-5951-444c-bdf4-d6b64a07606e.html
    name:  I.leoni.di.Sicilia.S1E3
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24210825_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890132~exp=1727890282~acl=/*~hmac=2fe6b719e3643b9cfb60d43cbe16254c515d90400505d7a10e03bf8e465d5057
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQZO2eEoTOPQqTYZqy75xygRoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MjEwODI1XywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['64ed9e1284ce3d0a93619ab2ef9c7281:b356611808464a245da0b41d39fc072e']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24210825_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890132~exp=1727890282~acl=/*~hmac=2fe6b719e3643b9cfb60d43cbe16254c515d90400505d7a10e03bf8e465d5057" --save-name "I.leoni.di.Sicilia.S1E3" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 64ed9e1284ce3d0a93619ab2ef9c7281:b356611808464a245da0b41d39fc072e
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E4-d0c06dbe-8bc4-4d05-beeb-de527d83de63.html
    name:  I.leoni.di.Sicilia.S1E4
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24210794_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890138~exp=1727890288~acl=/*~hmac=1923e956abae42f85e5ff44a2de78bbf26d97f8ae958a64f5ac8655607b2b2ab
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQcHgZlricOR+bZGDY7c3z3hoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MjEwNzk0XywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['70781996b89c391f9b6460d8edcdf3de:34dd49c88972fedaaa3c88fa7f3981a7']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24210794_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890138~exp=1727890288~acl=/*~hmac=1923e956abae42f85e5ff44a2de78bbf26d97f8ae958a64f5ac8655607b2b2ab" --save-name "I.leoni.di.Sicilia.S1E4" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 70781996b89c391f9b6460d8edcdf3de:34dd49c88972fedaaa3c88fa7f3981a7
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E5-bed548e8-6ecf-4ce4-a83d-30cfb277bb3a.html
    name:  I.leoni.di.Sicilia.S1E5
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24266718_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890144~exp=1727890294~acl=/*~hmac=9c629f30c7a96c1fd28357ac94a46a976be13a8ad94557e782a0e92f7b120185
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQ5agbfEMHMlm6k8+QX9RZ3BoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MjY2NzE4XywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['e5a81b7c43073259ba93cf905fd459dc:4e88b7138beed331392c1cd8f87d35fb']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24266718_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890144~exp=1727890294~acl=/*~hmac=9c629f30c7a96c1fd28357ac94a46a976be13a8ad94557e782a0e92f7b120185" --save-name "I.leoni.di.Sicilia.S1E5" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key e5a81b7c43073259ba93cf905fd459dc:4e88b7138beed331392c1cd8f87d35fb
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E6-6df3d30a-ab95-4dae-9c8d-dd75a3d73a89.html
    name:  I.leoni.di.Sicilia.S1E6
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24266642_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890149~exp=1727890299~acl=/*~hmac=2ef88226d38642568f004b12882a1b8b472bd7b75d6ce99bba118ee4371e0c5d
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQROW8DoTxNnivc+5/sMVKEBoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MjY2NjQyXywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['44e5bc0e84f13678af73ee7fb0c54a10:51b57748d8ce87aae59acb751196dc94']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24266642_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890149~exp=1727890299~acl=/*~hmac=2ef88226d38642568f004b12882a1b8b472bd7b75d6ce99bba118ee4371e0c5d" --save-name "I.leoni.di.Sicilia.S1E6" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 44e5bc0e84f13678af73ee7fb0c54a10:51b57748d8ce87aae59acb751196dc94
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E7-b0f15e77-2aec-43a7-93d1-26bac4cf4e97.html
    name:  I.leoni.di.Sicilia.S1E7
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24320081_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890153~exp=1727890303~acl=/*~hmac=b6e95f753f6b755c5bad9523c5b820616d14f4003dcfdaccf9b2f69bb8a409dd
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQYJewoVyONo2HLsBk/pgI6xoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MzIwMDgxXywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['6097b0a15c8e368d872ec064fe9808eb:d016a98a5a97116aea2874ca121f86a5']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24320081_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890153~exp=1727890303~acl=/*~hmac=b6e95f753f6b755c5bad9523c5b820616d14f4003dcfdaccf9b2f69bb8a409dd" --save-name "I.leoni.di.Sicilia.S1E7" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 6097b0a15c8e368d872ec064fe9808eb:d016a98a5a97116aea2874ca121f86a5
    --------------------------------------------------
    url:  https://www.raiplay.it/video/2024/09/I-leoni-di-Sicilia-S1E8-58097cb5-3a94-4904-a5d7-5d01b2891cc8.html
    name:  I.leoni.di.Sicilia.S1E8
    content_url:  https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24320112_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890158~exp=1727890308~acl=/*~hmac=f4a3615cb0ef61de0d96ba33e1427a99b172312e93dccef3e9c25915b7bad2f1
    pssh:  AAAAg3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGMIARIQmLI/6mhOOgOQtnAsRrGseBoFTmFncmEiRmRybV9yb290L0RSTU5hZ3JhX0Rpc25leV9tdWx0aWF1ZGlvLzI0MzIwMTEyXywxMjAwLDE4MDAsMjQwMCwzNjAwLDUwMDA=
    keys:  ['98b23fea684e3a0390b6702c46b1ac78:ca31117f74c9896990ccc37ae6a06945']
    
    N_m3u8DL-RE "https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRMNagra_Disney_multiaudio/24320112_,1200,1800,2400,3600,5000/manifest_mvnumber.mpd?hdnea=st=1727890158~exp=1727890308~acl=/*~hmac=f4a3615cb0ef61de0d96ba33e1427a99b172312e93dccef3e9c25915b7bad2f1" --save-name "I.leoni.di.Sicilia.S1E8" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 98b23fea684e3a0390b6702c46b1ac78:ca31117f74c9896990ccc37ae6a06945
    Quote Quote  
  6. Originally Posted by aqzs View Post
    Originally Posted by alba77 View Post
    I'm able to find the mpd file link and if I add 5000 after 2400 I can download in 1080 resolution.
    It doesn't work like that, you can't decrypt 1080p videos without the key and you can't obtain the key without properly fetching the manifest.
    Here are you keys and download commands for the best resolution available :
    Code:
    ...........
    Thank you very much. I'm grateful for the commands and the codes you gave me.
    Strangely on my windows 11 pc it doesn't decrypt if I don't add " --use-shaka-packager" but in a Windows 10 I don't need to add it.

    In any case I didn't understand this:
    you can't obtain the key without properly fetching the manifest
    What the manifest is?
    Quote Quote  
  7. Widevine L3 Guessor for raiplay only helps you up to 720p and the keys for 1080p are different, raiplay displays by choice up to 720p, to get 1080p you have to force it if you only add the 5000 to the playlist you only get the video but not the relevant nv-authorization to get the key
    Quote Quote  
  8. Originally Posted by Goku73 View Post
    Widevine L3 Guessor for raiplay only helps you up to 720p and the keys for 1080p are different, raiplay displays by choice up to 720p, to get 1080p you have to force it if you only add the 5000 to the playlist you only get the video but not the relevant nv-authorization to get the key
    Thanks for the replay.
    I see @aqzs in the 1st video gave me the code up to 2400 but from the 2ond to the 8ght he gave me the cose and the key for the 5000 (1080p)
    So it was possible in some way
    I see also for the 1st episode there is the 5000

    Mediaset is much easier than Raiplay RDM. For RAI not RDM I use Stacher.

    In any case I wasn't able to configure L3 Guessor.

    What exactly do I have to copy and paste to
    Code:
    https://keysdb.net/ or https://cdrm-project.com/
    ?

    WAW - how lucky I'm. You're the guy from the italian blog about RaiPlay where I asked to you to give me the help writing me by email. I connected in few time that the nick is the same. And my is the same too.
    Last edited by alba77; 2nd Oct 2024 at 13:32.
    Quote Quote  
  9. I believe we spoke on Lazza's Italian raiplay stacher page, you need PSHH, license and nv-authorizations but nv-authorizations lasts only 10 seconds you have to refresh the page quickly and copy the value starting with ey... etc.

    or use this in python

    Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    
    import requests
    
    # prepare pssh
    pssh = PSSH("PSSH")
    
    # load device
    device = Device.load("C:\Device.wvd")
    
    # load cdm
    cdm = Cdm.from_device(device)
    
    # open cdm session
    session_id = cdm.open()
    
    # get license challenge
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    # send license challenge (assuming a generic license server SDK with no API front)
    licence = requests.post("https://...", data=challenge, 
                            headers={"Nv-Authorizations": "link"}
    licence.raise_for_status()
    
    # parse license challenge
    cdm.parse_license(session_id, licence.content)
    
    # print keys
    for key in cdm.get_keys(session_id):
        print(f"[{key.type}] {key.kid.hex}:{key.key.hex()}")
    
    # close session, disposes of session data
    cdm.close(session_id)
    Last edited by Goku73; 2nd Oct 2024 at 13:45.
    Quote Quote  
  10. Originally Posted by Goku73 View Post
    I believe we spoke on Lazza's Italian raiplay stacher page
    Exactly. I asked you there because I wasn't able to find the replay of my question and so for this reason I opened a new thread here.

    Originally Posted by Goku73 View Post
    you need PSHH, license and nv-authorizations but nv-authorizations lasts only 10 seconds you have to refresh the page quickly and copy the value starting with ey... etc.
    I find easily the PSHH in the mpd code and paste it to the website where I'm going to get the key,
    After I search wv, right?
    Do I have to riglt click over it and copy the URL (like I do for Mediaset)?
    Where do I find the string with ey... ecc.?

    Is it in this screen?
    Image
    [Attachment 82605 - Click to enlarge]



    Originally Posted by Goku73 View Post
    or use this in python

    Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    
    import requests
    
    # prepare pssh
    pssh = PSSH("PSSH")
    
    # load device
    device = Device.load("C:\Device.wvd")
    
    # load cdm
    cdm = Cdm.from_device(device)
    
    # open cdm session
    session_id = cdm.open()
    
    # get license challenge
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    # send license challenge (assuming a generic license server SDK with no API front)
    licence = requests.post("https://...", data=challenge, 
                            headers={"Nv-Authorizations": "link"}
    licence.raise_for_status()
    
    # parse license challenge
    cdm.parse_license(session_id, licence.content)
    
    # print keys
    for key in cdm.get_keys(session_id):
        print(f"[{key.type}] {key.kid.hex}:{key.key.hex()}")
    
    # close session, disposes of session data
    cdm.close(session_id)

    My Python path is C:\Users\user\AppData\Local\Programs\Python\Python 312
    Do I have to run the python.exe file?
    In your code what do I have to replace with the string of the video I need to download?
    I see this line "licence = requests.post("https://...", data=challenge, " what do I have to punt instead of https://...?
    Last edited by alba77; 2nd Oct 2024 at 13:54.
    Quote Quote  
  11. no, like this, you also have to write nv-authorizations: then a space and then ey... although in the new site I don't know if it works maybe you also need to put the inverted commas "

    if you write to me in private I'll explain how to get 1080p
    Image Attached Thumbnails Click image for larger version

Name:	RAI_2.png
Views:	13
Size:	64.8 KB
ID:	82609  

    Last edited by Goku73; 2nd Oct 2024 at 14:02.
    Quote Quote  
  12. I have contacted you privately, I will explain everything better
    Last edited by Goku73; 2nd Oct 2024 at 14:16.
    Quote Quote  



Similar Threads

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