PM login info, I will help you if you want that of course.
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!
Closed Thread
Results 1,351 to 1,380 of 1969
-
how i got keys from these pltform
-
The getwvkeys website does not seem to have support for a key,value pair with the name "token", I don't think. If is not a header it seem like it would merge the license request and this token. Try using the following script which basically further help parsing the headers in the most lazy way possible. It would may help reduce these formatting errors as much as possible. save as 'getwvkeys.py'
Code:import requests, json, argparse, os aparser = argparse.ArgumentParser() aparser.add_argument('-p', '--pssh', help='content init data', required=True) aparser.add_argument('-l', '--license', help='license request endpoint', required=False) aparser.add_argument('--header', help='file with all the headers', required=False, default='headers.txt') args = aparser.parse_args() cached_endpoint = "cached" assert os.path.exists(args.header), 'headers file does not exists' if not args.license: assert os.path.exists(cached_endpoint),'no license endpoint specifed or cached endpoint available' with open(cached_endpoint, 'r') as handle: args.license = handle.read() with open(args.header,'r') as handle: file = handle.read() headers = {} #i don't like regex for line in file.split('\n'): if line.startswith(':'): continue key_pair, i = line.split(':'), 1 if len(key_pair) > 2: headers[key_pair[0]] = '' while i < len(key_pair): headers[key_pair[0]], i = (headers[key_pair[0]] + key_pair[i] + ':'), i+1 headers[key_pair[0]] = headers[key_pair[0]][:-1] else: headers[key_pair[0]] = key_pair[-1] headers[key_pair[0]] = headers[key_pair[0]].strip() #filter uncesesary headers for name in ['content-length','sec-ch-ua', 'sec-ch-ua-mobile','sec-ch-ua-platform', 'sec-fetch-dest','sec-fetch-mode', 'sec-fetch-site', 'pragma', 'cache-control']: if name in headers: headers.pop(name) print('starting license request via getwvkeys to: {}'.format(args.license)) resp = requests.post( url="http://getwvkeys.herokuapp.com/api", headers=headers, json={"license":args.license,"pssh":args.pssh}) assert resp.status_code == 200, 'key request failed\n' + resp.text try: for key in resp.json()['keys']: print('KEY:', key['key']) print('decrypt with mp4decrypt') cmd = "mp4decrypt" for key in resp.json()['keys']: cmd += " --key {}".format(key['key']) print(cmd) except: print('failed parsing keys, server response:\n', resp.text) with open(cached_endpoint,'w') as handle: handle.write(args.license)
Code:python3 getwvkeys.py -p "your_pssh_here" -l "your_license_url_here"
-
@EatThis
Then copy and paste all the headers from Chrome network's tab into a text file called headers.txt
Can you please show the format of the expected headers.txt as there are many opportunities for incorrect input. Does it need { }, commas at end, space at beginning .... ? There are numerous opportunities here. Kindly post a sample header.
-
I went to justwatch.com (random website not streaming provider), but applies for any URL including the license request url. Open Dev Tools (Chrome) > Network > Click on the URL > Click on the Headers sub-tab > copied everything under "Request Headers". Pasted onto text file like this.
Code::authority: www.justwatch.com :method: GET :path: / :scheme: https accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 accept-encoding: gzip, deflate, br accept-language: en-US,en;q=0.9 cache-control: no-cache cookie: a bunch of cookies here pragma: no-cache sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96" sec-ch-ua-mobile: ?0 sec-ch-ua-platform: "Windows" sec-fetch-dest: document sec-fetch-mode: navigate sec-fetch-site: same-origin sec-fetch-user: ?1 upgrade-insecure-requests: 1 user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
-
This response comes from the actual streaming service, what I suspect is that this website is expecting a JSON formatted payload with the license request in base64 like many websites do (Amazon, Apple Music/TV). The getwvkeys website seem to mainly apply when the license request is in bytes, getwvkeys generate the license request for you and send it to the streaming service. Without seeing how it actually interact with the website I can only speculate. This is an example of what I am looking for in the screenshot, this is using Paramount+ as an example. Without that, since I don't have access to such website, I am unable to know how and if can be fixed.
-
Anyone here successful at getting the free YouTube Movies?
It seems like a very weird setup where they don’t just give you an easy to find mpd link.
I found the mpd link with the view-source tool but then there seems to be no easy way to find the PSSH.
EME Logger gives a string way too long to be a normal PSSH, there is no init.mp4 to get KID —> PSSH, and the PSSH isn’t listed in the mpd.
I tried using a PSSH off the default KID of the video but it’s just “check protobufus”.
-
Dear people,
Hope you can help me out.
I use Widevine-keys and on most sites it works flawlessly but now im trying canal digitaal nl and it does not work.
It gets the pssh and it gets code 200 but does not show the keys and says my headers are wrong.
But the funny part is with the same headers and license url etc https://getwvkeys.herokuapp.com/ does work i get the keys .
The thing where i think it goes wrong is normally your browser does 3 request for a widevine license:
OPTIONS,POST,POST.
1st post is the server cert 2nd is the actual license.
canal digitaal uses 2 requests options and the 2nd is the license allready they have put the server cert into their player.
So my question is why does my tool now work and getwvkeys website does work ?.
[Attachment 62837 - Click to enlarge]
here it works
[Attachment 62838 - Click to enlarge]
here it does not.
[Attachment 62839 - Click to enlarge]
here are the headers i use .
hope someone can help me out.
maybe is because widevine-keys is altered version of wks-key ? i only have the widevine-keys tool that is still up on github the rest you guys talk about is gone there.
-
I am not sure if I follow you correctly but if the last screenshot is the tool that is not working, is evidently clear the reason why. It should be doing a POST (requests.post) instead of requests.options. OPTIONS is done from the browser or service to know if the endpoint exists or learn what it support, it it exists it always will give you response core 200 but will never give you any data.
-
yeah my bad but still when i do it correctly see below screenshots it does not work :S
[Attachment 62840 - Click to enlarge]
[Attachment 62841 - Click to enlarge]
if i use the same info as above in https://getwvkeys.herokuapp.com/wv
i get a key and kid.
-
I'm still trying to get the keys from polsatgo / polsatboxgo and it still doesn't come out, try on getwvkeys.herokuapp.com, I get a message
[Attachment 62854 - Click to enlarge]
[Attachment 62855 - Click to enlarge]
MPD:Code:https://ipla-e2-19.pluscdn.pl/p/vm2dash/30/30f2614ee9a9f0e3575b8328d201d42c9673e19d/manifest.mpd
-
Remove everything that is yellow . and try again
[Attachment 62856 - Click to enlarge]
-
I deleted what I wrote and now such an error
[Attachment 62858 - Click to enlarge]
-
Unfortunately, it didn't work, how do I check the license URL? I did not find another one in developer tools. After opening https://b2c-www.redefine.pl/rpc/drm/ is "500 Internal Server Error Server got itself in trouble"
-
That means your headers are wrong.
CTV normally only gives 2 keys. I believe video is first key and audio is second key.
I don't know why but if you don't have this in:
Code:headers = { 'authority': 'license.9c9media.ca', 'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"', 'sec-ch-ua-mobile': '?0', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.7113.93 Safari/537.36', 'sec-ch-ua-platform': '"Windows"', 'accept': '*/*', 'origin': 'https://www.ctv.ca', 'sec-fetch-site': 'cross-site', 'sec-fetch-mode': 'cors', 'sec-fetch-dest': 'empty', 'referer': 'https://www.ctv.ca/', 'accept-language': 'en-US,en;q=0.9', }
-
Hi, does anyone know if http://getwvkeys.herokuapp.com/ supports headers with Bearer tokens in them?
For example
Code:accept: */* accept-encoding: gzip, deflate, br accept-language: en-US,en;q=0.9 authorization: Bearer st2.s.AcbH5vBpuw.jtykAAtHRwUecQeFvobDljRnGh2Bcu5S_R0mYX2pJhCv0y8SnWH9Z1G15zmxRundKP9LKHLCvtvFJGRPHW2X0PF1uQVLS9AJGQwZPyIcfIM.Ax_mYl94yt11aqtcxAgI9lqiF1GCx4FumwEoNNTLCBevbUwx9kD2dbHikShrZsmoxwTGB_ES2W8-7x9LJz8Jjg.sc3 content-length: 104 content-type: application/json; charset=UTF-8
-
would you please help :
licence : https://ott.cytavision.com.cy/VSP/V3/ExternalDRMLicense?src=https://cyta.live.ott.irde...contentId=1018
Pssh : AAAAPXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAB0IARIQ3A fL+s2yRECJ9077GKYZkSIEMTAxODiQHA==
Accept-Encoding: gzip, deflate, br
Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
AcquireLicense.CustomData: eyJraWQiOiJlODViNTI2YS1mMTkzLTRjMjItODc1Mi0yOGZjNz czYjdiYmEiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ zdWIiOiIzMTkyNzE0MiIsImVwbyI6eyJtdmkiOjAsImhkYyI6I m5vdFJlcXVpcmVkIiwiY2dtIjozLCJsZXQiOjE2NDQ0NjQzODI sInBlciI6dHJ1ZSwibHN0IjoxNjA0MzgzMjQ0LCJzbGUiOjB9L CJpc3MiOiJWU1AiLCJlbnQiOlt7ImVwaWQiOiJkZWZhdWx0Iiw iYmlkIjoiMTAxOCJ9XSwiZXhwIjoxNjQxODYxODA5LCJhaWQiO iJjeXRhIiwiaWF0IjoxNjQxODYxNjg5LCJqdGkiOiIzNWM2YTV mZi0yOGQxLTQ3YzMtYWJmYS03ZWQ5NWZhYjgwOWMifQ.k3DgEN nbnXqzyaVICpiYFH20jCFwvofWLcbzjgr90J2g1MMUMiHukNzp vLaedlaRgBrq3TnaaJyWZCVRdd9nVFOza-9sapuHyl2gtbCFEUdLPx8qNoOutkowXhjWfmwVLCcrC3G8JM9T X4-N0v38nUK1qLMU6yS3EVoRL_GmfMY51OCH0HZC9RzoOUyL7Zp3F ywrzIdWp8IsklXoHmNbvkPwNqS_mHsNm2nvx-oU-B0N5mHCHDBV8S0Iev4Vn7NCaxKHAzIUerJj3gr8-6ch62oUAxMckISxs6tdpYpme7Tl4YxiF-QqR3hjBlWYPivkSidCqX38JdyGEcK4Hii_dA
CADeviceType: Widevine OTT Client
Connection: keep-alive
Content-Length: "2"
Cookie: _ga=GA1.3.1576976174.1632073434; _gid=GA1.3.138077158.1641686319; CSESSIONID=45DD687DD10EB522BE4911AAFBD7F9F9; XSESSIONID=0359T7SCBWPSBNSSB6909B0SK5N4MXIN; CSRFSESSION=9a32483498a4fce9133dc2eaef488c6512b639 55a3aa642c; JSESSIONID=0359T7SCBWPSBNSSB6909B0SK5N4MXIN; _gat_gtag_UA_39625407_18=1
Host: ott.cytavision.com.cy
Origin: https://ott.cytavision.com.cy
Referer: https://ott.cytavision.com.cy/EPG/WEBTV/index.html
User-Agent: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
but always error : ERROR
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
what's wrong with ? i doubt it is geo-lock , or license not correct .
any help please
thank u .
Similar Threads
-
Strip Playready and Widevine DRM
By freaknik in forum Video Streaming DownloadingReplies: 5Last Post: 22nd Jun 2024, 15:20 -
Decoding manifest.mpd (Widevine)
By WaitForIt in forum Video Streaming DownloadingReplies: 6Last Post: 7th Jun 2021, 13:44 -
getting widevine CEK key
By netbreak in forum Video Streaming DownloadingReplies: 1Last Post: 19th Feb 2018, 12:03 -
Looking for anyone with Google Widevine knowledge.
By cookeri6 in forum Newbie / General discussionsReplies: 1Last Post: 15th May 2017, 13:33 -
Looking for anyone with Google Widevine knowledge.
By cookeri6 in forum Video Streaming DownloadingReplies: 0Last Post: 15th May 2017, 12:45