Hey Guys,
I've started playing and learning to download/decrypt video from streaming site. On crave I can do the 720p without issue but the 1080p videos are causing some headache.
For exemple this URL, 1080p is only available usng EDGE : https://www.crave.ca/en/tv-shows/elles-ont-tue/episode-1-s1e1
Using EME Logger won't give me the pssh. From what I understand this is a PlayReady encrypted video.
Manifest : https://u1.video.9c9media.com/video/v1/218169/dash/playready/zultimate-01000110/manifest.mpd
I can download the video without issue but getting the keys is not working and I can't figure out how. I've try download the init.mp4 but it doesn't contain anything useful and can't get pssh extracted.
Anyone can point me to some article or documentations that could help me undertand and learn the proper way to do it?
Thanks,
r0ot5
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 12 of 12
-
-
From init file:
>mp4dump init.mp4
...
default_KID = [cc 4b 43 4f b4 47 cc 7a fc be ed bf 60 d7 f0 88]
...
>widevine_pssh.py --key_ids cc4b434f-b447-cc7a-fcbe-edbf60d7f088
--widevine.drm_specific_data=AAAARnBzc2gBAAAA7e+LqXn WSs6jyCfc1R0h7QAAAAHMS0NPtEfMevy+7b9g1/CIAAAAEhIQzEtDT7RHzHr8vu2/YNfwiA== -
Did you see that 'playready' in the manifest URL?
You can just add a '?filter=25' to get 1080p on your Chrome. Those 4K videos are also L3. -
When I check in the network tab, the authenticating server seems to be 'playready'
[Attachment 76065 - Click to enlarge]
Once I have the pssh, I'm trying to request the keys but it's always failing using the following URL:
https://license.9c9media.ca/playready?jwt=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.....and I get this URL from the entry you see in the screenshot and select copy URL.
Maybe I'm doing it wrong. Like I said, I'm doing the same thing for the 720p video and it's working fine but the 1080p is causing me issue. -
Have you tried, in your header, to use the Edge user agent like this?
Code:User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
-
-
Perhaps you're missing some additional headers that are sent with your license request. Maybe the user agent isn't the only relevant one. Try including them all.
-
I did try to include all headers informatons but I'm still getting back Error 500.
Here's the header:
headers = {
'authority': 'license.9c9media.ca',
'accept': '*/*',
'accept-language': 'en-US,en;q=0.9',
'content-type': 'text/xml; charset=utf-8',
'origin': 'https://www.crave.ca',
'referer': 'https://www.crave.ca/',
'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'cross-site',
'soapaction': '"http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense"',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0',
} -
I think you've caught the wrong request.
Mine below:
Code:headers = { 'Accept': '*/*', 'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6', 'Authorization': 'HIDDEN', 'Cache-Control': 'no-cache', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'DNT': '1', 'Origin': 'https://www.crave.ca', 'Pragma': 'no-cache', 'Referer': 'https://www.crave.ca/en/tv-shows/fantastic-friends/dubai-s1e3', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'cross-site', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', 'sec-ch-ua': '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"', }
9c9media won't use an XML to exchange licenses when you are using Widevine. They will do so only when it's PlayReady.
(Don't tell me you want to get the content key for PlayReady. We are talking about the Widevine stuff.)
And with Widevine, it works perfectly.
[Attachment 76078 - Click to enlarge]Last edited by CrymanChen; 6th Jan 2024 at 20:02.
-
I think I'm mixed up, when using Firefox I get the correct manifest and can decode it but I only see 720p. To be able to capture the 1080p manifest I need to use edge and that's where I keep seeing stuff related to 'playready'.
Here's what I'm receiving based on the browser I use:
Link to video : https://www.crave.ca/en/tv-shows/elles-ont-tue/episode-4-s1e4
FF : https://u1.video.9c9media.com/video/v1/218168/dash/widevine/zbest-01000110/manifest.mpd
Edge : https://u1.video.9c9media.com/video/v1/218169/dash/playready/zultimate-01000110/manifest.mpd
Can't force 1080p using firefox with crave.....Last edited by r0ot5; 6th Jan 2024 at 20:53.
-
Similar Threads
-
Similar sites to ctv.ca, crave et al.?
By CrymanChen in forum Video Streaming DownloadingReplies: 4Last Post: 30th Jun 2023, 07:09 -
CRAVE TV - No problem to get keys but no working mpd to download files
By George7 in forum Video Streaming DownloadingReplies: 17Last Post: 15th May 2023, 15:44 -
Fantastic Friends from crave.ca
By CrymanChen in forum Video Streaming DownloadingReplies: 12Last Post: 12th Oct 2022, 21:28 -
1080p 30fps + 720p 60 fps = 1080p 60 fps
By Santuzzu in forum EditingReplies: 1Last Post: 12th May 2020, 13:24 -
Converting a 1080p 60Hz to 1080p 23.97Hz
By snadge in forum Video ConversionReplies: 3Last Post: 11th Sep 2019, 11:31