VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Can someone tell me what the headers of the videos on the AXN Spain website are?

    I try but they don't work out.


    VIDEO: https://www.axn.es/programas/chicago-fire/videos
    MPD: https://na2.stream.cdn.zype.com/vod/63e66fc262032d00015e154f/66b36a6ff3a24200017e7b89/...380/stream.mpd
    PSSH: AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcSEM9xw9 ls8XWyzdG1l6zUP+8aC2J1eWRybWtleW9zIhDPccPZbPF1ss3R tZes1D/vSPPGiZsG
    DRM: https://drm.zype.com/buydrm/proxy?drm-type=widevine
    Quote Quote  
  2. Just the "customdata" header for the license request.
    Quote Quote  
  3. Member
    Join Date
    Sep 2024
    Location
    United states
    Search PM
    Originally Posted by axnspain View Post
    Can someone tell me what the headers of the videos on the AXN Spain website are?

    I try but they don't work out.


    VIDEO: https://www.axn.es/programas/chicago-fire/videos
    MPD: https://na2.stream.cdn.zype.com/vod/63e66fc262032d00015e154f/66b36a6ff3a24200017e7b89/...380/stream.mpd
    PSSH: AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcSEM9xw9 ls8XWyzdG1l6zUP+8aC2J1eWRybWtleW9zIhDPccPZbPF1ss3R tZes1D/vSPPGiZsG
    DRM: https://drm.zype.com/buydrm/proxy?drm-type=widevine
    To find the headers of the videos on the AXN Spain website, inspect the page’s source code or network requests using your browser's developer tools. Look for elements or network requests related to video content; these often include headers or metadata that might indicate video titles or descriptions.
    Quote Quote  
  4. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    For some reason the python request doesn't work for that website, even with right headers..
    I managed to get keys performing the request with nodejs.
    Here is the key :
    Code:
    cf71c3d96cf175b2cdd1b597acd43fef:75855f13f9014f5567aea5a89cb48162
    Code:
    N_m3u8DL-RE "https://na2.stream.cdn.zype.com/vod/63e66fc262032d00015e154f/66b36a6ff3a24200017e7b89/66b36a70f3a24200017e7b8a/1723204380/stream.mpd" --key 'cf71c3d96cf175b2cdd1b597acd43fef:75855f13f9014f5567aea5a89cb48162' --save-name "Chicago Fire" -M mkv -mt
    https://www.swisstransfer.com/d/e9acfc5e-2cc3-4a0e-bdeb-90a9ec5aae1d
    Quote Quote  
  5. Originally Posted by Obo View Post
    Just the "customdata" header for the license request.
    Well no, he doesn't listen to me and I've only included what you told me:

    import requests

    headers = {
    'customdata': 'YXBwX2tleT12dFQ4UHFFUjF1R3puWFV0TWo5QnJWeE9Dd2g1Z Ucxdm5qSUk4SGUyOE9RQlBNVUZmOG5zYXZMM0JBUlJmcFBuJnN pZ25hdHVyZT1RVmE0enNjRGUzNG51X3RyTj lLdi1qbDRzVU9FNF9BaEs5MWh5T1hCUXhZJTNEJnRzPTE3MjU5 MDc2NTImdmlkZW9faWQ9NjZiMzZhNmZmM2EyNDIwMDAxN2U3Yj g5'
    Quote Quote  
  6. Originally Posted by aqzs View Post
    For some reason the python request doesn't work for that website, even with right headers..
    I managed to get keys performing the request with nodejs.
    Here is the key :
    Code:
    cf71c3d96cf175b2cdd1b597acd43fef:75855f13f9014f5567aea5a89cb48162
    Code:
    N_m3u8DL-RE "https://na2.stream.cdn.zype.com/vod/63e66fc262032d00015e154f/66b36a6ff3a24200017e7b89/66b36a70f3a24200017e7b8a/1723204380/stream.mpd" --key 'cf71c3d96cf175b2cdd1b597acd43fef:75855f13f9014f5567aea5a89cb48162' --save-name "Chicago Fire" -M mkv -mt
    https://www.swisstransfer.com/d/e9acfc5e-2cc3-4a0e-bdeb-90a9ec5aae1d
    Thank you so much.

    A little strange that with python the key does not appear, it is not a very powerful website or anything like that.

    How did you get to the end? I say this for future videos just in case you know.
    Quote Quote  
  7. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    python works fine

    Code:
    import requests
    from pywidevine import PSSH, Device, Cdm
    
    PSSH_VALUE = "AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcSEM9xw9ls8XWyzdG1l6zUP+8aC2J1eWRybWtleW9zIhDPccPZbPF1ss3RtZes1D/vSPPGiZsG"
    WVD_FILE = "device_wvd_file.wvd"
    
    pssh = PSSH(PSSH_VALUE)
    device = Device.load(WVD_FILE)
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    response = requests.post(
        'https://drm.zype.com/buydrm/proxy',
        params={'drm-type': 'widevine'},
        headers={
            'customdata': '<your_customdata_value>'
        },
        data=challenge
    )
    response.raise_for_status()
    
    cdm.parse_license(session_id, response.content)
    for key in cdm.get_keys(session_id):
        print(f"[{key.type}] {key.kid.hex}:{key.key.hex()}")
    cdm.close(session_id)
    Code:
    [CONTENT] cf71c3d96cf175b2cdd1b597acd43fef:75855f13f9014f5567aea5a89cb48162
    No idea why you bother with this though instead of using key extractors from the sticky threads
    Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 9th Sep 2024 at 15:13.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  8. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    python works fine

    Code:
    import requests
    from pywidevine import PSSH, Device, Cdm
    
    PSSH_VALUE = "AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcSEM9xw9ls8XWyzdG1l6zUP+8aC2J1eWRybWtleW9zIhDPccPZbPF1ss3RtZes1D/vSPPGiZsG"
    WVD_FILE = "device_wvd_file.wvd"
    
    pssh = PSSH(PSSH_VALUE)
    device = Device.load(WVD_FILE)
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    response = requests.post(
        'https://drm.zype.com/buydrm/proxy',
        params={'drm-type': 'widevine'},
        headers={
            'customdata': '<your_customdata_value>'
        },
        data=challenge
    )
    response.raise_for_status()
    
    cdm.parse_license(session_id, response.content)
    for key in cdm.get_keys(session_id):
        print(f"[{key.type}] {key.kid.hex}:{key.key.hex()}")
    cdm.close(session_id)
    Code:
    [CONTENT] cf71c3d96cf175b2cdd1b597acd43fef:75855f13f9014f5567aea5a89cb48162
    No idea why you bother with this though instead of using key extractors from the sticky threads
    What fixed thread key extractors? What are you talking about?
    Quote Quote  
  9. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Code:
    import requests
    from pywidevine import PSSH, Device, Cdm
    
    PSSH_VALUE = "AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcSEM9xw9ls8XWyzdG1l6zUP+8aC2J1eWRybWtleW9zIhDPccPZbPF1ss3RtZes1D/vSPPGiZsG"
    WVD_FILE = "device_wvd_file.wvd"
    
    pssh = PSSH(PSSH_VALUE)
    device = Device.load(WVD_FILE)
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    response = requests.post(
        'https://drm.zype.com/buydrm/proxy',
        params={'drm-type': 'widevine'},
        headers={
            'customdata': '<your_customdata_value>'
        },
        data=challenge
    )
    response.raise_for_status()
    
    cdm.parse_license(session_id, response.content)
    for key in cdm.get_keys(session_id):
        print(f"[{key.type}] {key.kid.hex}:{key.key.hex()}")
    cdm.close(session_id)
    run your script with customdata provide on post 5, i get:
    requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: h*tps://drm.zype.com/buydrm/proxy?drm-type=widevine
    Quote Quote  
  10. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Of course it crashes. Replace the line
    Code:
            'customdata': '<your_customdata_value>'
    With what you have in browser (not from someone else either). If it's not working even after that, then there's geo country problems going on.

    Edit: but I repeat, you shouldn't bother with python for individual videos, when there are other tools available more suitable for this task. Unless you want entire series downloaded at once
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  11. if you read my post above I wrote that I copied the customdata value from post 5 and add into the script.

    I did not access it from my browser but just copy and pasted the customdata value from the previous post
    and the script responds with error 500 Server Error
    Quote Quote  
  12. right, i've tried to play on my browser. rip customdata value and pasted into your script. and it work. so yu're right Pepe, and so solved issue
    Quote Quote  
  13. I don't know how to use those programs. I have tried but I always get errors and strange things.

    That's why I prefer the "Headers" and then with python l3.py I put the pssh and the license and it gives me the key
    Quote Quote  
  14. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by axnspain View Post
    I don't know how to use those programs. I have tried but I always get errors and strange things.
    That's a shame. I'm sure if you'd ask about those errors in the programs' specific posts, you'd get all the help you need instead of using outdated methods.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  



Similar Threads

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