thePlatform(rte.ie)

This commit is contained in:
FoxRefire 2024-05-03 19:21:17 +09:00
parent a75b721e7f
commit 835ccf5a45
3 changed files with 11 additions and 0 deletions

View File

@ -39,6 +39,7 @@
<option value="GlobalTV">GlobalTV</option>
<option value="Polsat">Polsat</option>
<option value="RedBee">Red Bee Media</option>
<option value="thePlatform">thePlatform</option>
</select><br>
<input type="button" id="guess" value="Guess!"><br>

View 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())

View File

@ -5,6 +5,7 @@ lic.staging.drmtoday$$DRMToday
lic.drmtoday.com$$DRMToday
corusappservices.com/authorization/widevine/getresourcekey$$GlobalTV
b2c-www.redefine.pl/rpc/drm$$Polsat
widevine.entitlement.eu.theplatform.com$$thePlatform
license-ap
getRawWidevineLicense
AcquireLicense