Add NosTV by request

This commit is contained in:
FoxRefire 2024-05-08 09:18:01 +09:00
parent b10a38e7b4
commit 6eba2a85a5
3 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,7 @@
<option value="Comcast">Comcast Xfinity</option>
<option value="DRMToday">DRMToday</option>
<option value="GlobalTV">GlobalTV</option>
<option value="NosTV">NosTV</option>
<option value="Polsat">Polsat</option>
<option value="RedBee">Red Bee Media</option>
<option value="thePlatform">thePlatform</option>

7
python/schemes/NosTV.py Normal file
View File

@ -0,0 +1,7 @@
b64challenge = base64.b64encode(challenge).decode()
res = await (await pyfetch(licUrl,
method="POST",
headers=licHeaders,
body=json.dumps({"challenge": b64challenge})
)).json()
licence = base64.b64decode(res["license"][0].encode())

View File

@ -8,6 +8,7 @@ b2c-www.redefine.pl/rpc/drm$$Polsat
widevine.entitlement.eu.theplatform.com$$thePlatform
cdp/catalog/GetPlaybackResources$$Amazon
drm-license.youku.tv$$Youku
NOS71ZV1/wvls$$NosTV
contentlicenseservice/v1/licenses
media-license-server/validate-auth-token
wv-keyos.licensekeyserver