VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. First of all, I've been lurking for around 2 weeks and need to say the amount of resources available to the public and the knowledge that some users are willing to share is amazing. 2 weeks ago I had no idea what was DRM and MPDs and stuff. Now I'm pulling WV keys from those files.

    Or at least I try. Been having issues with Helix / Videotron.
    https://helix.videotron.com/live/Watch-Accident-davion/6583103740735971105/DHD

    Code:
    Manifest MPD: https://tr.vl-tve-linear-red.cdnsrv.videotron.ca/CANDHD_HD_VL_VLTVE_56161_0_5927923575099822163.mpd
    Code:
    License: https://mds.vl.comcast.net/license
    Was able to get PSSH from different python scripts, not all of them would give me the right one (length)
    Code:
    PSSH: AAAAW3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADsSJDRhMWQyOWJmLWYyMzgtYjZjZC1iYmUyLTVhZTQyMzM4MTExMyITNTkyNzkyMzU3NTA5OTgyMjE2Mw==
    Code:
    KID: 4a1d29bff238b6cdbbe25ae423381113
    Now to get the key, I tried everything I could find and I just cannot find it. Websites/APIs/scripts don't find it, I played with headers and all that and no go.

    I don't want the key per se; I want to know HOW you managed to get it. I already have the key some guy pulled it for me. cb10xxxxxxxxxxxx6b51
    All he needed was a CURL to Python from the license request he didn't even need logins.

    I searched the forum, I found 2 users and both gave up. So I decided to give it a go.

    Thanks
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Quote Quote  
  3. Paid service with free channels. We could use a different MPD and Channel name. It's mostly Geolocked rather than paid.

    All that was needed was this for headers, cookies, params:

    Code:
    import requests
    
    headers = {
        'Accept': 'application/vnd.xcal.mds.licenseResponse+json; version=1',
        'Accept-Language': 'en-US,en;q=0.9,fr;q=0.8',
        'Connection': 'keep-alive',
        'Content-Type': 'application/vnd.xcal.mds.licenseRequest+json; version=1',
        'DNT': '1',
        'Origin': 'https://helix.videotron.com',
        'Referer': 'https://helix.videotron.com/',
        '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/121.0.0.0 Safari/537.36',
        'X-MoneyTrace': 'trace-id=b05265e5-8eea-4513-8af8-5984299cb685;parent-id=846324442823052379;span-id=3138464000797805119;',
        'sec-ch-ua': '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
    }
    
    data = '{"keySystem":"widevine","licenseRequest":"CAQ=","contentMetadata":"ZXlKNE5YUWpVekkxTmlJNklsWm1hR2g1VDB4WU1uRlRXRTlOYjA0dFNFSXpiVmxNWVRVdFdYWjVWWEYxVjNWMk56ZHpjR1pUYUZVaUxDSmhiR2NpT2lKU1V6STFOaUo5LmV5SmphMjFOWlhSaFpHRjBZU0k2SWxGcVEwTkJWVzlOUVZSSldFUlVTWGxOUkVWNVRrUkZNazFVWjNoTk1XOU5RVlJSUlVWRVUwcERiVUprTjNseFlVdFRSREpNYlc0NUxVTjNUVUZVVlVWR1JGWlhNM3B6UWxaSk0zVm5MV1JTTTBSMlFXaFJlRWgzTUV4elJFRkZNa0pKU0dKTlNVaFpSRUZ3YW1FeU1EWmpSemx6WVZkT05VUkNUakpoVjFKc1lqTlNlV0l5TkhSWk1sWjFXWGt4TUdSdFZuTkVRWGhxWVRJd05tTkhPWE5oVjA0MVUxZFJUVVV6V25CYVIxWjJaRWhLZG1KcE1XcGFWelZxVEZoU01scFhkMDFEYlU1MlltNVNiR0p1VVRaaFYxRk5SWHBWTlUxcVl6Vk5hazB4VG5wVmQwOVVhelJOYWtsNFRtcE5UVU5YVW5saVZIQnlXbGhzU2xwQmQydE9SMFY0V2tSSk5WbHRXWFJhYWtsNlQwTXhhVTV0VG10TVYwcHBXbFJKZEU1WFJteE9SRWw2VFhwbmVFMVVSWHBFUW5CcVlqSTFNRnBYT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aWJ1dGUga2V5PSJkZXZpY2U6eGNhbDpsb2NhdGlvblNlc3Npb25aaXAiPkgxQTVBNDwvYXR0cmlidXRlPg0KICA8YXR0cmlidXRlIGtleT0ibWVzc2FnZTpwcm90ZWN0aW9uOm5vdE9uT3JBZnRlciI+MjAyNC0wMi0xOFQxMzo1MjowM1o8L2F0dHJpYnV0ZT4NCiAgPGF0dHJpYnV0ZSBrZXk9ImFjY291bnQ6Q0VUOmJpbGxpbmdJZCI+NzhlODc1Y2ItM2I3MS00NzIwLWEwNzEtNTIzZWMyMTg0YTEzPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJkZXZpY2U6eGNhbDpsb2NhdGlvbkhvbWVUaW1lem9uZSI+QW1lcmljYS9OZXdfWW9yazwvYXR0cmlidXRlPg0KICA8YXR0cmlidXRlIGtleT0iYWNjb3VudDp4Y2FsOnRpbWV6b25lIj5BbWVyaWNhL05ld19Zb3JrPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJzZXJ2aWNlOnhjYWw6cGFydG5lciI+dmlkZW90cm9uPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJkZXZpY2U6eGNhbDpsb2NhdGlvblZvZCI+MTwvYXR0cmlidXRlPg0KICA8YXR0cmlidXRlIGtleT0ibWVzc2FnZTpwcm90ZWN0aW9uOm5vdEJlZm9yZSI+MjAyNC0wMi0xN1QxMzo1MjowM1o8L2F0dHJpYnV0ZT4NCjwvbnMyOnhjYWwtYXV0aC1tZXNzYWdlPg0KDQo=","accessAttributes":{"content:xcal:streamType":"Geofenced"}}'
    
    response = requests.post('https://mds.vl.comcast.net/license', headers=headers, data=data)
    Last edited by rabaistva; 17th Feb 2024 at 07:54.
    Quote Quote  
  4. Get fresh headers and add/change this to/in your pywidevine L3 script:

    Code:
    headers = {
        'Accept': 'application/vnd.xcal.mds.licenseResponse+json; version=1',
        'Accept-Language': 'en-US,en;q=0.9,fr;q=0.8',
        'Connection': 'keep-alive',
        'Content-Type': 'application/vnd.xcal.mds.licenseRequest+json; version=1',
        'DNT': '1',
        'Origin': 'https://helix.videotron.com',
        'Referer': 'https://helix.videotron.com/',
        '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/121.0.0.0 Safari/537.36',
        'X-MoneyTrace': 'trace-id=b05265e5-8eea-4513-8af8-5984299cb685;parent-id=846324442823052379;span-id=3138464000797805119;',
        'sec-ch-ua': '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
    }
    
    payload = {
        "keySystem":"widevine",
        "licenseRequest":"CAQ=",
        "contentMetadata":"ZXlKNE5YUWpVekkxTmlJNklsWm1hR2g1VDB4WU1uRlRXRTlOYjA0dFNFSXpiVmxNWVRVdFdYWjVWWEYxVjNWMk56ZHpjR1pUYUZVaUxDSmhiR2NpT2lKU1V6STFOaUo5LmV5SmphMjFOWlhSaFpHRjBZU0k2SWxGcVEwTkJWVzlOUVZSSldFUlVTWGxOUkVWNVRrUkZNazFVWjNoTk1XOU5RVlJSUlVWRVUwcERiVUprTjNseFlVdFRSREpNYlc0NUxVTjNUVUZVVlVWR1JGWlhNM3B6UWxaSk0zVm5MV1JTTTBSMlFXaFJlRWgzTUV4elJFRkZNa0pKU0dKTlNVaFpSRUZ3YW1FeU1EWmpSemx6WVZkT05VUkNUakpoVjFKc1lqTlNlV0l5TkhSWk1sWjFXWGt4TUdSdFZuTkVRWGhxWVRJd05tTkhPWE5oVjA0MVUxZFJUVVV6V25CYVIxWjJaRWhLZG1KcE1XcGFWelZxVEZoU01scFhkMDFEYlU1MlltNVNiR0p1VVRaaFYxRk5SWHBWTlUxcVl6Vk5hazB4VG5wVmQwOVVhelJOYWtsNFRtc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aWNlOnhjYWw6YWxsb3ctcHVyY2hhc2U8L2F0dHJpYnV0ZT4NCiAgPGF0dHJpYnV0ZSBrZXk9InNlcnZpY2U6eGNhbDpwcm9kdWN0Ij5jZHZyPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJkZXZpY2U6eGNhbDpsb2NhdGlvblNlc3Npb25aaXAiPkgxQTVBNDwvYXR0cmlidXRlPg0KICA8YXR0cmlidXRlIGtleT0ibWVzc2FnZTpwcm90ZWN0aW9uOm5vdE9uT3JBZnRlciI+MjAyNC0wMi0xOFQxMzo1MjowM1o8L2F0dHJpYnV0ZT4NCiAgPGF0dHJpYnV0ZSBrZXk9ImFjY291bnQ6Q0VUOmJpbGxpbmdJZCI+NzhlODc1Y2ItM2I3MS00NzIwLWEwNzEtNTIzZWMyMTg0YTEzPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJkZXZpY2U6eGNhbDpsb2NhdGlvbkhvbWVUaW1lem9uZSI+QW1lcmljYS9OZXdfWW9yazwvYXR0cmlidXRlPg0KICA8YXR0cmlidXRlIGtleT0iYWNjb3VudDp4Y2FsOnRpbWV6b25lIj5BbWVyaWNhL05ld19Zb3JrPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJzZXJ2aWNlOnhjYWw6cGFydG5lciI+dmlkZW90cm9uPC9hdHRyaWJ1dGU+DQogIDxhdHRyaWJ1dGUga2V5PSJkZXZpY2U6eGNhbDpsb2NhdGlvblZvZCI+MTwvYXR0cmlidXRlPg0KICA8YXR0cmlidXRlIGtleT0ibWVzc2FnZTpwcm90ZWN0aW9uOm5vdEJlZm9yZSI+MjAyNC0wMi0xN1QxMzo1MjowM1o8L2F0dHJpYnV0ZT4NCjwvbnMyOnhjYWwtYXV0aC1tZXNzYWdlPg0KDQo=",
        "accessAttributes":{"content:xcal:streamType":"Geofenced"}}
    
    payload["licenseRequest"] = base64.b64encode(challenge).decode('utf-8')
    
    licence = requests.post(lic_url, json=payload, headers=headers)
    I get a 403 forbidden even though I used a Canadian proxy (so I'm guessing the accessToken expired), but I don't get 400s or 415s, so the request is technically made the right way.

    Yes, accessToken expired:
    Code:
    <attribute key="message:protection:notOnOrAfter">2024-02-18T13:52:03Z</attribute>
    Last edited by white_snake; 18th Feb 2024 at 10:12.
    Quote Quote  
  5. if you curl the license, still can get license response after long time.so token not expired, must something wrong with challenge. have no idea, maybe it is another site account relative to CDM, or need some signature.

    Code:
    <Response [200]>
    b'{"license":"CAUSvwUKuQIIAxIQg8aqEInV5X.........................","accessAttributesStatus":0}'
    Quote Quote  
  6. Thanks to both of you. I was working on white_snake post right now.
    Got a fresh CDM, fresh L3_correction files.

    Edited my headers a bit to turn the "data" into "payload".
    Added import base64 at the top of my headers file.

    Code:
    payload["licenseRequest"] = base64.b64encode(challenge).decode('utf-8')
                                                     ^^^^^^^^^
    NameError: name 'challenge' is not defined
    Quote Quote  
  7. Originally Posted by rabaistva View Post
    Thanks to both of you. I was working on white_snake post right now.
    Got a fresh CDM, fresh L3_correction files.

    Edited my headers a bit to turn the "data" into "payload".
    Added import base64 at the top of my headers file.

    Code:
    payload["licenseRequest"] = base64.b64encode(challenge).decode('utf-8')
                                                     ^^^^^^^^^
    NameError: name 'challenge' is not defined
    Don't use WKS-KEYS, use a basic pywidevine script with WVD: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS
    Quote Quote  
  8. Originally Posted by white_snake View Post
    Originally Posted by rabaistva View Post
    Thanks to both of you. I was working on white_snake post right now.
    Got a fresh CDM, fresh L3_correction files.

    Edited my headers a bit to turn the "data" into "payload".
    Added import base64 at the top of my headers file.

    Code:
    payload["licenseRequest"] = base64.b64encode(challenge).decode('utf-8')
                                                     ^^^^^^^^^
    NameError: name 'challenge' is not defined
    Don't use WKS-KEYS, use a basic pywidevine script with WVD: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS
    Thanks I reinstalled everything fresh now.

    Tried to go deeper but couldn't figure it out. Only data I was able to pull is always the default_KID="4a1d29bff238b6cdbbe25ae423381113" that is in the MPD.

    Looks like a double encryption MPD or something I'm not sure.

    Here is the working key, still can't figure out how he pulled the second part.
    Code:
    4a1d29bff238b6cdbbe25ae423381113:cb10d4e0ed0c2a61b9a0015e55d76b51
    Quote Quote  
  9. Originally Posted by rabaistva View Post
    Originally Posted by white_snake View Post
    Originally Posted by rabaistva View Post
    Thanks to both of you. I was working on white_snake post right now.
    Got a fresh CDM, fresh L3_correction files.

    Edited my headers a bit to turn the "data" into "payload".
    Added import base64 at the top of my headers file.

    Code:
    payload["licenseRequest"] = base64.b64encode(challenge).decode('utf-8')
                                                     ^^^^^^^^^
    NameError: name 'challenge' is not defined
    Don't use WKS-KEYS, use a basic pywidevine script with WVD: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS
    Thanks I reinstalled everything fresh now.

    Tried to go deeper but couldn't figure it out. Only data I was able to pull is always the default_KID="4a1d29bff238b6cdbbe25ae423381113" that is in the MPD.

    Looks like a double encryption MPD or something I'm not sure.

    Here is the working key, still can't figure out how he pulled the second part.
    Code:
    4a1d29bff238b6cdbbe25ae423381113:cb10d4e0ed0c2a61b9a0015e55d76b51
    Have you tried running the pywidevine script? What error do you get?
    Quote Quote  
  10. Update: I'm suspecting they might be using TLS fingerprinting, so I tried curl_cffi, but I'm still getting 403s impersonating chrome120. So, as shellcmd said, there must be something else wrong.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!