thePlatform(rte.ie)
This commit is contained in:
9
python/schemes/thePlatform.py
Normal file
9
python/schemes/thePlatform.py
Normal file
@@ -0,0 +1,9 @@
|
||||
payload = json.loads(base64.b64decode(licBody.encode()).decode())
|
||||
b64challenge = base64.b64encode(challenge).decode()
|
||||
payload["getWidevineLicense"]["widevineChallenge"]=b64challenge
|
||||
res = await (await pyfetch(licUrl,
|
||||
method="POST",
|
||||
headers=licHeaders,
|
||||
body=json.dumps(payload)
|
||||
)).json()
|
||||
licence = base64.b64decode(res["getWidevineLicenseResponse"]["license"].encode())
|
||||
Reference in New Issue
Block a user