thePlatform(rte.ie)
This commit is contained in:
parent
a75b721e7f
commit
835ccf5a45
@ -39,6 +39,7 @@
|
|||||||
<option value="GlobalTV">GlobalTV</option>
|
<option value="GlobalTV">GlobalTV</option>
|
||||||
<option value="Polsat">Polsat</option>
|
<option value="Polsat">Polsat</option>
|
||||||
<option value="RedBee">Red Bee Media</option>
|
<option value="RedBee">Red Bee Media</option>
|
||||||
|
<option value="thePlatform">thePlatform</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
|
|
||||||
<input type="button" id="guess" value="Guess!"><br>
|
<input type="button" id="guess" value="Guess!"><br>
|
||||||
|
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())
|
@ -5,6 +5,7 @@ lic.staging.drmtoday$$DRMToday
|
|||||||
lic.drmtoday.com$$DRMToday
|
lic.drmtoday.com$$DRMToday
|
||||||
corusappservices.com/authorization/widevine/getresourcekey$$GlobalTV
|
corusappservices.com/authorization/widevine/getresourcekey$$GlobalTV
|
||||||
b2c-www.redefine.pl/rpc/drm$$Polsat
|
b2c-www.redefine.pl/rpc/drm$$Polsat
|
||||||
|
widevine.entitlement.eu.theplatform.com$$thePlatform
|
||||||
license-ap
|
license-ap
|
||||||
getRawWidevineLicense
|
getRawWidevineLicense
|
||||||
AcquireLicense
|
AcquireLicense
|
||||||
|
Loading…
Reference in New Issue
Block a user