VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Anonymous437945
    Guest
    Hi everyone,

    I'm new here and I managed to get quite some videos from the Belgian sports website Sporza in the past. Now, for some videos they are using DRM protection. YT-DLP does not work on these anymore, so I was a bit stuck.
    I found this great informative forum and I've read some posts already.

    I downloaded N_m3u8DL-RE , as I had FFMpeg and MP4 decrypt already installed to use with yt-dlp. I used a Firefox plugin to extract the correct URL for a video that is protected, to check whether it would download.
    It did, but the video file is still protected by password. Which is odd, because you can watch the videos on sporza without logging in.

    So, I read a bit further, I need to find a way to get the Keys for the video I want to download. There's no key that works for the whole website.
    I need to have PSSH information as well.

    But, where to start? I read about the android box on a guidance post, but I don't have such devices yet.
    I'm not a complete novice, I'm familiar downloading stuff with yt-dlp and youtube-dl in the past. This thing with DRM protection is new though.
    Quote Quote  
  2. every video have one (or more) key/s

    you can find pssh usually from mpd link on response (or preview) tab

    write here your video link for test
    Quote Quote  
  3. Member
    Join Date
    Jul 2021
    Location
    Desktop
    Search Comp PM
    If you work out the pssh and licence url you can possibly generate working keys, it's though less convenient to work with the mpd directly compared to the source link which requires a sign in to access the video.
    Quote Quote  
  4. with free account i can see only video 1:48 min ...

    Image
    [Attachment 69362 - Click to enlarge]


    and you're right from mpd no pssh but kid only (but is the same)
    Quote Quote  
  5. Anonymous437945
    Guest
    Yes lomero, it actually is only 1m48 long...
    Quote Quote  
  6. and you want this video 1m48 long only ?? post another full video link ...

    it doesn't make much sense to do a job to get the key for a video that lasts 2 minutes only, don't you think?
    Quote Quote  
  7. Anonymous437945
    Guest
    Quote Quote  
  8. have a look at the other threads for "vrt" - its a trickier site than most others.
    eg.
    https://forum.videohelp.com/threads/408685-VRT-Max-Getting-key
    https://forum.videohelp.com/threads/408494-Need-help-for-getting-KID-KEY-value-pair
    https://forum.videohelp.com/threads/407962-download-from-VRT-MAX

    also try this thread too
    https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio

    heres the key for your link
    Code:
    f49c7e1de9c24ccd252c2ed5f05f169f:8d60365ffd8fe666ad3f88611872c914
    Quote Quote  
  9. Originally Posted by ElCap View Post
    have a look at the other threads for "vrt" - its a trickier site than most others.
    eg.
    https://forum.videohelp.com/threads/408685-VRT-Max-Getting-key
    https://forum.videohelp.com/threads/408494-Need-help-for-getting-KID-KEY-value-pair
    https://forum.videohelp.com/threads/407962-download-from-VRT-MAX

    also try this thread too
    https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio

    heres the key for your link
    Code:
    f49c7e1de9c24ccd252c2ed5f05f169f:8d60365ffd8fe666ad3f88611872c914
    Hi ElCap , i tried to get the keys form the links in this thread ,but failed.

    i thought taking the payload and passing it by widevine_keys as json could give me the keys ,but it didn't (forgive my poor knowledge) .

    then i took a look at the links you provided and i found this post from "orangebirds" :
    https://forum.videohelp.com/threads/407962-download-from-VRT-MAX/page2#post2677651

    he posted this code :
    Code:
    responses.append(requests.post(url=lic_url, headers=headers.headers, params=params, 
    		json={"token":"vrt|2023-01-10T11:16:58Z|" + str(request, "utf-8" ) + "|149d1aa6ec2ea7fa29010f0c9f36dab0780ecd78","drm_info":[8,4]}
    		))

    he didn't succeeded at first ,but later he could find the way to make it work , and he said :
    The license request is in drm_info parameter, but the license request need to be converted from raw binary to array, PSSH are generated from content ID and it works
    i didn't really understand that hint.


    Lastly the keys are of no important to me , what i want is to learn how to deal with such sites , so please can you guide me through this even if there was an alternative method to get the keys that would be great .


    Update:

    Finally , I figured it out and now it works .

    Regards
    Last edited by thej911; 2nd Mar 2023 at 03:24.
    Quote Quote  
  10. I'm stuck at the very same stage. I seem to have all the info I need, but I can't find how to modify the script to feed it correctly to l3.py

    HTTPToolkit shows me a 200 status with Response and Response Body, but l3.py gives me the "Ciphertext with incorrect length" treatment.

    Edit : The feeding from headers was okay, the interpretation in l3 was the problem.
    Last edited by tadanobu; 2nd Mar 2023 at 22:37.
    Quote Quote  



Similar Threads

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