Hi,
First, I want to thank everyone for their help with CDM and decryption (specifically Cedric8528, A_n_g_e_l_a and [ss]vegeta.
While i've succeed in obtaining a CDM from an Android Emulator and in getting proper keys with WKS-KEYS to decrypt the files from some sites I have a hard time with RTS.ch and need some help.
URL
MPDCode:https://www.rts.ch/play/tv/emission/ncis-los-angeles?id=1800652
PSSHCode:https://rtsvod-euwe.akamaized.net/2489fea2-2739-4f46-ad8a-4665744a19e7/RTSVOD-9640b041-14b1.ism/manifest(format=mpd-time-csf,encryption=cenc)
LICENSECode:AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISELcz7bZFU0D2g+XfamY3Hd8=
HEADER.PYCode:https://srg.live.ott.irdeto.com/licenseServer/widevine/v1/SRG/license?contentId=RTSVOD
On others streaming site i usually get an 'Authorization Bearer' token that is also part of the header but i can't find any in the Dev Tools network tab on RTS.Code:import requests headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0', 'Accept': '*/*', 'Accept-Language': 'fr-CA,en-CA;q=0.5', # 'Accept-Encoding': 'gzip, deflate, br', 'Referer': 'https://srg.live.ott.irdeto.com/', 'Origin': 'https://www.rts.ch', 'DNT': '1', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'cross-site', 'Sec-GPC': '1', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Content-Type': 'application/x-www-form-urlencoded', } params = { 'contentId': 'RTSVOD', } data = '\b\x04' response = requests.post( 'https://srg.live.ott.irdeto.com/licenseServer/widevine/v1/SRG/license', params=params, headers=headers, data=data, )
If I try with CDRM-Project, I get the following Error 403: {"code":130301,"message":"Content is not available in this location."}
Obviously i did something wrong and would appreciate if someone can point me in the right direction.
Kind regards,
+ Reply to Thread
Results 1 to 6 of 6
-
-
Use your own CDM and maybe WKS and decrypt yourself. this site is very easy. Not all sites uses Auth token and etc.
Your keys:
[INFO] - [PSSH] : AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISELcz7b ZFU0D2g+XfamY3Hd8=
[INFO] - [KID:KEY] : b733edb6455340f683e5df6a66371ddf:55a5df5e491021f52 6a5fb82a7ceb812
[INFO] - [KID] : b733edb6455340f683e5df6a66371ddf
[INFO] - [KEY] : 55a5df5e491021f526a5fb82a7ceb812 -
-
For RTS, you don't need a header, PSSH and license are enough.
Edit : And a good VPN of course ^^ -
You need to make the request from Switzerland, the Lic server only works from there it seems. So your error indicates you are not there or your VPN gets detected.
-
Similar Threads
-
Need help to download video from RTS
By screamjojo in forum Video Streaming DownloadingReplies: 25Last Post: 23rd Dec 2024, 04:50 -
play live stream with seperate audio and video keys
By hubertsaper in forum Video Streaming DownloadingReplies: 6Last Post: 12th Jan 2023, 15:54 -
help in getting keys
By 10362227 in forum Video Streaming DownloadingReplies: 2Last Post: 28th Dec 2022, 22:45 -
Corrupted (?) .ts files (download from RTS.CH)
By ecolek in forum Video Streaming DownloadingReplies: 9Last Post: 6th Feb 2021, 06:23