Working version

This commit is contained in:
Joris Bertomeu
2025-08-26 09:08:04 +02:00
commit ac0dc8286b
63 changed files with 2741 additions and 0 deletions

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

@@ -0,0 +1,10 @@
payload = {
'playerPayload': base64.b64encode(cdm.service_certificate_challenge).decode()
}
service_cert = await corsFetch(licUrl, "POST", licHeaders, payload, "json")
service_cert = service_cert['license']
payload = {
'playerPayload': getChallenge('b64', service_cert)
}
licence = await corsFetch(licUrl, "POST", licHeaders, payload, "json")
licence = licence['license']