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.
+ Reply to Thread
Results 1 to 11 of 11
-
Anonymous437945Guest
-
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 -
Anonymous437945Guest
Hi
this is the mpd link to the video, which is taken from the url below
https://ondemand.vrtcdn.be/content/vod/vid-96df68ef-ac8b-4548-8aba-8c0547981847-CDN_1/...83b3d.ism/.mpd
https://sporza.be/nl/2021/06/22/club-bereidt-met-ambitie-het-nieuwe-seizoen-voor/ -
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.
-
with free account i can see only video 1:48 min ...
[Attachment 69362 - Click to enlarge]
and you're right from mpd no pssh but kid only (but is the same) -
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? -
Anonymous437945Guest
It would be great to know how to do it so I can do it myself, even for these short ones.
I have a long one (around 18 mins):
https://ondemand.vrtcdn.be/content/vod/vid-86e3f9a6-49ff-47ba-91f5-b10b9c4cfd36-CDN_1/...95ce9.ism/.mpd
https://sporza.be/nl/2021/07/17/bekijk-het-journaal-laat-met-o-a-het-verslag-van-de-supercup/ -
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
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 .
RegardsLast edited by thej911; 2nd Mar 2023 at 03:24.
-
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.
Similar Threads
-
Twixtor - Simple guidance - Same length more frames in AE and Premier.
By Tom4 in forum EditingReplies: 14Last Post: 10th May 2022, 21:48 -
Need Guidance VHS to DVD Transfer
By trishp in forum Newbie / General discussionsReplies: 8Last Post: 20th Mar 2022, 06:40 -
New Guy Needs Some Guidance
By RedOak in forum Newbie / General discussionsReplies: 14Last Post: 22nd Jul 2020, 23:41 -
U-Matic Tape Capture Issue (Guidance Needed)
By fantasmal in forum Capturing and VCRReplies: 2Last Post: 11th Apr 2020, 09:51 -
KeepVid Guidance Sought
By JeromeBernardJames in forum Off topicReplies: 2Last Post: 27th May 2019, 06:11