VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. 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
    Code:
    https://www.rts.ch/play/tv/emission/ncis-los-angeles?id=1800652
    MPD
    Code:
    https://rtsvod-euwe.akamaized.net/2489fea2-2739-4f46-ad8a-4665744a19e7/RTSVOD-9640b041-14b1.ism/manifest(format=mpd-time-csf,encryption=cenc)
    PSSH
    Code:
    AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISELcz7bZFU0D2g+XfamY3Hd8=
    LICENSE
    Code:
    https://srg.live.ott.irdeto.com/licenseServer/widevine/v1/SRG/license?contentId=RTSVOD
    HEADER.PY
    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,
    )
    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.
    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,
    Quote Quote  
  2. 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
    Quote Quote  
  3. Originally Posted by andrewzhong View Post
    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
    Thank you but I'm not asking for keys. I just want to know where my mistake is in the info i provided and where to look for what i need to decrypt.
    Quote Quote  
  4. For RTS, you don't need a header, PSSH and license are enough.

    Edit : And a good VPN of course ^^
    Quote Quote  
  5. Member
    Join Date
    Feb 2022
    Location
    Europe
    Search PM
    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.
    Quote Quote  
  6. Originally Posted by pouki2 View Post
    For RTS, you don't need a header, PSSH and license are enough.

    Edit : And a good VPN of course ^^
    Thank you very munch for the hint, i've used an empty header and it worked perfectly. I made it more difficult than it was

    HEADER.PY
    Code:
    import requests
    
    headers = {
    }
    Quote Quote  



Similar Threads

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