VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 14 of 14
  1. Getting to the pssh, license and so on is fine, but when converting the license in curlconverter something very very long comes out and I don't know what the "headers" are exactly so that it can give me the key later when entering the pssh and license.

    could you help me?

    URL: https://www.nbc.com/el-senor-de-los-cielos/video/cierre-de-cuentas/9000349959

    URL MPD: https://0b5f2c65670e498882d9cf4c89322cb4.mediatailor.us-east-2.amazonaws.com/v1/dash/7...f-49ec4c7ebc05

    PSSH: AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcIARIQR6 3WjB8WT1GIL2OKn/hyOhoLYnV5ZHJta2V5b3MiEEet1owfFk9RiC9jip/4cjoqAkhE

    LICENSE: https://drmproxy.digitalsvc.apps.nbcuni.com/drm-proxy/license/widevine?time=1718701468...75c&device=web

    Thanks
    Quote Quote  
  2. only need one key:value pair

    Code:
    'content-type': 'application/octet-stream',
    Quote Quote  
  3. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    As @shellcdm said you need this header :
    HTML Code:
    headers = {'content-type': 'application/octet-stream',}
    (You need to use the license url used by your browser and not just 'https://drmproxy.digitalsvc.apps.nbcuni.com/drm-proxy/license/widevine?')
    The key is :
    Code:
    47add68c1f164f51882f638a9ff8723a:21a14be51959bac1d42f1bf8beced528
    Quote Quote  
  4. as? We are supposed to copy the license link in bash and convert it into the "curlconverter" website so that it gives us the "headers" that we have to enter into python so that when we enter the pssh and the license it gives us the key, So how do I do that?

    If you can explain it better I would appreciate it.
    Quote Quote  
  5. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by axnspain View Post
    as? We are supposed to copy the license link in bash and convert it into the "curlconverter" website so that it gives us the "headers" that we have to enter into python so that when we enter the pssh and the license it gives us the key, So how do I do that?

    If you can explain it better I would appreciate it.
    Use this script :
    HTML Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    import requests
    
    headers = {'content-type': 'application/octet-stream',}
    
    pssh = input("PSSH? ")
    pssh = PSSH(pssh)
    lic_url = input("License URL? ")
    
    device = Device.load("device.wvd")
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    licence = requests.post(lic_url, headers = headers, data=challenge)
    licence.raise_for_status()
    cdm.parse_license(session_id, licence.content)
    for key in cdm.get_keys(session_id):
        if key.type=='CONTENT':
            print(f"\n--key {key.kid.hex}:{key.key.hex()}")
    cdm.close(session_id)
    I join a video too to show how it works.
    Image Attached Files
    Quote Quote  
  6. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by axnspain View Post
    Getting to the pssh, license and so on is fine, but when converting the license in curlconverter something very very long comes out and I don't know what the "headers" are exactly so that it can give me the key later when entering the pssh and license.

    could you help me?

    Thanks
    help yourself with the noobs starter kit It gets everything.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  7. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by axnspain View Post
    Getting to the pssh, license and so on is fine, but when converting the license in curlconverter something very very long comes out and I don't know what the "headers" are exactly so that it can give me the key later when entering the pssh and license.

    could you help me?

    Thanks
    help yourself with the noobs starter kit It gets everything.
    And what do I do with that? How does it work exactly? I have unzipped it but I don't know how it goes.

    I have read about "Start" but nothing is clear to me. I put "python hell3.py" in a CMD but it doesn't do anything, I get an error and so on.
    Last edited by axnspain; 18th Jun 2024 at 14:20.
    Quote Quote  
  8. Originally Posted by aqzs View Post
    Originally Posted by axnspain View Post
    as? We are supposed to copy the license link in bash and convert it into the "curlconverter" website so that it gives us the "headers" that we have to enter into python so that when we enter the pssh and the license it gives us the key, So how do I do that?

    If you can explain it better I would appreciate it.
    Use this script :
    HTML Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    import requests
    
    headers = {'content-type': 'application/octet-stream',}
    
    pssh = input("PSSH? ")
    pssh = PSSH(pssh)
    lic_url = input("License URL? ")
    
    device = Device.load("device.wvd")
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    licence = requests.post(lic_url, headers = headers, data=challenge)
    licence.raise_for_status()
    cdm.parse_license(session_id, licence.content)
    for key in cdm.get_keys(session_id):
        if key.type=='CONTENT':
            print(f"\n--key {key.kid.hex}:{key.key.hex()}")
    cdm.close(session_id)
    I join a video too to show how it works.
    And where do I put that script?
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by axnspain View Post

    And what do I do with that? How does it work exactly? I have unzipped it but I don't know how it goes.

    I have read about "Start" but nothing is clear to me. I put "python hell3.py" in a CMD but it doesn't do anything, I get an error and so on.
    Well you get this week's star prize. There have been over 250 downloads so far and you are the first person to complain it is unclear. Start.html opens in your browser. It has pictures; it has some text to read; and some programs to download. If all that escapes your ability I can not help you.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  10. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by axnspain View Post

    And what do I do with that? How does it work exactly? I have unzipped it but I don't know how it goes.

    I have read about "Start" but nothing is clear to me. I put "python hell3.py" in a CMD but it doesn't do anything, I get an error and so on.
    Well you get this week's star prize. There have been over 250 downloads so far and you are the first person to complain it is unclear. Start.html opens in your browser. It has pictures; it has some text to read; and some programs to download. If all that escapes your ability I can not help you.
    It is not that it is beyond my capacity, it is that I see that the "python" program must be installed in Windows, and I do not have it installed as such. I use the usual CMD and then the "python l3.py" commands where it asks me for the PSSH and the license and previously with the Headers so it gets the keys.

    Yours is more confusing with certain additional programs and so on.
    Quote Quote  
  11. Goodness me.
    Quote Quote  
  12. From this, what exactly would be the headers so that when I enter the PSSH and the license it gives me the key?



    HTML Code:
    import requests
    
    headers = {
        'accept': '*/*',
        'accept-language': 'es-ES,es;q=0.9',
        'access-control-request-headers': 'authorization,content-type,x-movistarplus-deviceid,x-movistarplus-os,x-movistarplus-ui',
        'access-control-request-method': 'POST',
        'origin': 'https://ver.movistarplus.es',
        'priority': 'u=1, i',
        'referer': 'https://ver.movistarplus.es/',
        '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/126.0.0.0 Safari/537.36',
    }
    
    params = {
        'qspVersion': 'ssp',
        'version': '8.0.1',
        'status': 'default',
    }
    
    response = requests.options(
        'https://clientservices.dof6.com/movistarplus/webplayer/sdp/mediaPlayers/056d87add1f5415890dda50463f2339c/initData',
        params=params,
        headers=headers,
    )
    
    
    headers = {
        'Referer': 'https://ver.movistarplus.es/',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36',
    }
    
    params = {
        'gcs': 'G111',
        'gcd': '13r3r3r2r5',
        'tag_exp': '0',
        'rnd': '1943244822.1718819308',
        'url': 'https://ver.movistarplus.es/ficha/hudson-y-rex-t5/ep-1-perdidos-en-los-barrens',
        'dma_cps': 'sypham',
        'dma': '1',
        'npa': '0',
        'gtm': '45He46h0n81WKKDZNVv9128853780za200',
        'auid': '720291472.1718819002',
    }
    
    response = requests.get('https://googleads.g.doubleclick.net/pagead/landing', params=params, headers=headers)
    
    
    headers = {
        'accept': '*/*',
        'accept-language': 'es-ES,es;q=0.9',
        'origin': 'https://ver.movistarplus.es',
        'priority': 'u=1, i',
        'referer': 'https://ver.movistarplus.es/',
        'sec-ch-ua': '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
        '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/126.0.0.0 Safari/537.36',
    }
    
    params = {
        'outputformat': 'json',
        'system': 'movistar_plus',
        'pluginVersion': '6.8.26-adapterless-js',
        'requestNumber': '0.9941827039389122',
        'timemark': '1718819308364',
    }
    
    response = requests.get('https://a-fds.youborafds01.com/data', params=params, headers=headers)
    
    
    headers = {
        'Accept': 'text/plain, */*; q=0.01',
        'Accept-Language': 'es-ES,es;q=0.9',
        'Connection': 'keep-alive',
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'Origin': 'https://ver.movistarplus.es',
        'Referer': 'https://ver.movistarplus.es/',
        '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/126.0.0.0 Safari/537.36',
        'sec-ch-ua': '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
    }
    
    data = '{"adm":"10895081-1","dev":"056d87add1f5415890dda50463f2339c","dman":"UKN","dmod":"UKN","ctype":0,"uprof":"DTHTITULAR","evs":[{"suprof":0,"dwmode":"WP_OTT","ts":1718819308367,"act":"UP","mne":"Y_MNE","pg":"Y_PAGE","evt":13,"par":[{"k":"HZ","v":"A"},{"k":"appVersion","v":"2.49.0"},{"k":"SO","v":"Windows_y_10"}]}]}'
    
    response = requests.post('https://audiencias-ott.imagenio.telefonica.net/events', headers=headers, data=data)
    thanks
    Quote Quote  
  13. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by axnspain View Post
    From this, what exactly would be the headers so that when I enter the PSSH and the license it gives me the key?
    Open a new thread for movistarplus
    Quote Quote  
  14. Originally Posted by axnspain View Post
    From this, what exactly would be the headers so that when I enter the PSSH and the license it gives me the key?

    thanks
    None of those look like the headers to the license request. Btw you'll only need the nv-authorizations header, but those obtained with a desktop browser won't work in your script.
    Quote Quote  



Similar Threads

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