Add Polsat

This commit is contained in:
FoxRefire 2024-05-02 02:27:32 +09:00
parent 7449ea8096
commit 658636c1fb
3 changed files with 12 additions and 0 deletions

View File

@ -28,6 +28,7 @@
<option value="CommonWV">CommonWV</option>
<option value="DRMToday">DRMToday</option>
<option value="GlobalTV">GlobalTV</option>
<option value="Polsat">Polsat</option>
<option value="RedBee">Red Bee Media</option>
</select><br>

10
python/schemes/Polsat.py Normal file
View File

@ -0,0 +1,10 @@
import base64
payload = json.loads(base64.b64decode(licBody.encode()).decode())
challengeB64 = base64.b64encode(challenge).decode()
payload['params']['object'] = challengeB64
licence = await (await pyfetch(licUrl,
method="POST",
headers=licHeaders,
body=json.dumps(payload)
)).json()
base64.b64decode(licence['result']['object']['license'].encode())

View File

@ -2,5 +2,6 @@ cwip-shaka-proxy
c4.eme.lp.aws.redbee$$RedBee
lic.staging.drmtoday$$DRMToday
corusappservices.com/authorization/widevine/getresourcekey$$GlobalTV
b2c-www.redefine.pl/rpc/drm$$Polsat
license-ap
licenseManager.do