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
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 14 of 14
-
-
only need one key:value pair
Code:'content-type': 'application/octet-stream',
-
As @shellcdm said you need this header :
HTML Code:headers = {'content-type': 'application/octet-stream',}
The key is :Code:47add68c1f164f51882f638a9ff8723a:21a14be51959bac1d42f1bf8beced528
-
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)
-
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 -
Last edited by axnspain; 18th Jun 2024 at 14:20.
-
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 -
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. -
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)
-
Similar Threads
-
Headers using curlconverter
By titotrinidad in forum Newbie / General discussionsReplies: 1Last Post: 29th Jul 2023, 10:17 -
Not getting headers from this Licence
By ihuman in forum Video Streaming DownloadingReplies: 18Last Post: 25th May 2023, 08:43 -
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 -
headers Authorization
By ahmedani in forum Video Streaming DownloadingReplies: 3Last Post: 17th Sep 2022, 11:56 -
Problems With Headers
By Quint in forum Video Streaming DownloadingReplies: 15Last Post: 13th Dec 2021, 12:32