Add Comcast Xfinity(Shaw.ca)
This commit is contained in:
parent
ef0444331d
commit
aba1244aca
@ -26,6 +26,7 @@
|
||||
<label for="scheme">Challenge scheme</label>
|
||||
<select id="scheme">
|
||||
<option value="CommonWV">CommonWV</option>
|
||||
<option value="Comcast">Comcast Xfinity</option>
|
||||
<option value="DRMToday">DRMToday</option>
|
||||
<option value="GlobalTV">GlobalTV</option>
|
||||
<option value="Polsat">Polsat</option>
|
||||
|
7
python/schemes/Comcast.py
Normal file
7
python/schemes/Comcast.py
Normal file
@ -0,0 +1,7 @@
|
||||
from pyodide.ffi import to_js
|
||||
req = json.loads(base64.b64decode(licBody.encode()).decode())
|
||||
b64challenge = base64.b64encode(challenge).decode()
|
||||
req['licenseRequest'] = b64challenge
|
||||
res = await js.corsFetch(licUrl, "POST", to_js(licHeaders), json.dumps(req))
|
||||
res = json.loads(base64.b64decode(res.encode()).decode())
|
||||
licence = base64.b64decode(res['license'].encode())
|
@ -1,5 +1,6 @@
|
||||
cwip-shaka-proxy
|
||||
c4.eme.lp.aws.redbee$$RedBee
|
||||
comcast.net/license$$Comcast
|
||||
lic.staging.drmtoday$$DRMToday
|
||||
corusappservices.com/authorization/widevine/getresourcekey$$GlobalTV
|
||||
b2c-www.redefine.pl/rpc/drm$$Polsat
|
||||
|
Loading…
Reference in New Issue
Block a user