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
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 15 of 15
Thread
-
-
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.
-
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
-
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' -
-
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
Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 9th Sep 2024 at 15:13.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*] -
-
https://forum.videohelp.com/forums/48-Video-Streaming-Downloading#stickies
-> https://forum.videohelp.com/threads/414140-%5BRelease%5D-Widevine-L3-Guesser-Extension...-Chrome-All-OS
-> https://forum.videohelp.com/threads/415503-%5Brelease%5D-AllHellGui
-> https://forum.videohelp.com/threads/415485-%5BRelease%5D-WidevineFetch-Keys-from-just-...y-Lic-Wrapping
-> https://cdrm-project.com/extension
They're generic solutions. Try them all. One of them should at least work for your site.--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*] -
-
Of course it crashes. Replace the line
Code:'customdata': '<your_customdata_value>'
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*] -
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 -
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
-
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
Similar Threads
-
Download from AXN Spain
By axnspain in forum Video Streaming DownloadingReplies: 18Last Post: 29th Mar 2024, 20:04 -
problem with headers in M6 video
By ludo in forum Video Streaming DownloadingReplies: 7Last Post: 23rd Dec 2023, 06:23 -
Help Headers RTVE Spain
By axnspain in forum Video Streaming DownloadingReplies: 11Last Post: 18th Dec 2023, 14:35 -
Can anyone help me get the headers for this video/site?
By celsoricardoweb in forum Video Streaming DownloadingReplies: 3Last Post: 15th Nov 2022, 03:20 -
How do I download AXN promos?
By axnspain in forum Video Streaming DownloadingReplies: 0Last Post: 23rd Oct 2020, 14:27