VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Code:
    python l3.py
    
    PSSH: AAAA7XBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAM0SEN6C5Hxy6DovjD/271yp6GYiuAF7InYiOiIyIiwiZmlkIjoidWZlempreDlpcHR6MHY0eGR6NHo2d25xciIsInN2aWQiOiJsYXVuY2hwYWQiLCJwbCI6ImV5SmtaV3hwZG1WeWVWOTBlWEJsSWpveExDSnhkV0ZzYVhSNUlqb3lMQ0owWldVaU9tWmhiSE5sTENKb1pHTndYMmxrSWpveGZRIiwiY3MiOiI2NTkzZjg1MDFjNGY2NzJkODM2ZmZjNzVkZmUyZmE2ZCJ9
    License URL: https://mlic.dmm.com/drm/widevine/license
    unable to parse license - check protobufs
    Code:
    headers = {
        'authority': 'mlic.dmm.com',
        'accept': '*/*',
        'accept-language': 'ja,en-US;q=0.9,en;q=0.8,zh-TW;q=0.7,zh-CN;q=0.6,zh;q=0.5',
        'cache-control': 'no-cache',
        'origin': 'https://tv.dmm.com',
        'pragma': 'no-cache',
        'referer': 'https://tv.dmm.com/',
        'sec-ch-ua': '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"macOS"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'same-site',
        'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36',
        # 'content-type': 'application/x-www-form-urlencoded',
    }

    I cannot get the key with the l3.py script using the headers extracted from chrome dev tools. I am using the wks-key script from https://forum.videohelp.com/threads/411509-WKS_KEYS-updated-protobuf-to-version-4
    My cdm should be working as I can get keys from other sites.

    The PSSH and headers should be correct as I can get the keys with the PSSH and headers from https://cdrm-project.com/.

    Are there any tweaks that are needed to the l3 script to get the keys from dmm tv?
    Quote Quote  
  2. maybe you need, custom data, x auth token
    or something like that in your headers

    Code:
     Cached PSSH
    PSSH:AAAA7XBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAM0SEN6C5Hxy6DovjD/271yp6GYiuAF7InYiOiIyIiwiZmlkIjoidWZlempreDlpcHR6MHY0eGR6NHo2d25xciIsInN2aWQiOiJsYXVuY2hwYWQiLCJwbCI6ImV5SmtaV3hwZG1WeWVWOTBlWEJsSWpveExDSnhkV0ZzYVhSNUlqb3lMQ0owWldVaU9tWmhiSE5sTENKb1pHTndYMmxrSWpveGZRIiwiY3MiOiI2NTkzZjg1MDFjNGY2NzJkODM2ZmZjNzVkZmUyZmE2ZCJ9
    
    Time:Sat Dec 23 14:52:10 2023
    
    de82e47c72e83a2f8c3ff6ef5ca9e866:472c72ccd97882c1f84977e45a87b500
    Quote Quote  
  3. Originally Posted by jckzz View Post
    maybe you need, custom data, x auth token
    or something like that in your headers

    Code:
     Cached PSSH
    PSSH:AAAA7XBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAM0SEN6C5Hxy6DovjD/271yp6GYiuAF7InYiOiIyIiwiZmlkIjoidWZlempreDlpcHR6MHY0eGR6NHo2d25xciIsInN2aWQiOiJsYXVuY2hwYWQiLCJwbCI6ImV5SmtaV3hwZG1WeWVWOTBlWEJsSWpveExDSnhkV0ZzYVhSNUlqb3lMQ0owWldVaU9tWmhiSE5sTENKb1pHTndYMmxrSWpveGZRIiwiY3MiOiI2NTkzZjg1MDFjNGY2NzJkODM2ZmZjNzVkZmUyZmE2ZCJ9
    
    Time:Sat Dec 23 14:52:10 2023
    
    de82e47c72e83a2f8c3ff6ef5ca9e866:472c72ccd97882c1f84977e45a87b500


    Code:
    import requests
    
    headers = {
        'authority': 'mlic.dmm.com',
        'accept': '*/*',
        'accept-language': 'ja,en-US;q=0.9,en;q=0.8,zh-TW;q=0.7,zh-CN;q=0.6,zh;q=0.5',
        'cache-control': 'no-cache',
        'origin': 'https://tv.dmm.com',
        'pragma': 'no-cache',
        'referer': 'https://tv.dmm.com/',
        'sec-ch-ua': '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"macOS"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'same-site',
        'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36',
        'content-type': 'application/x-www-form-urlencoded',
    }
    This is the license request extracted from curl converter. I should have the headers correct. I saw a long string of non-base64 encoded string (probably byte) in the data that is posted to the license request server. Is it anything about it?
    Quote Quote  



Similar Threads