Add Polsat
This commit is contained in:
parent
7449ea8096
commit
658636c1fb
@ -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
10
python/schemes/Polsat.py
Normal 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())
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user