Add Canal+ by request (untested by me)

This commit is contained in:
FoxRefire
2024-06-07 06:25:41 +09:00
parent d148c1e1f3
commit 2217e0541b
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
payload = loadBody("json")
b64challenge = base64.b64encode(challenge).decode()
payload['ServiceRequest']['InData']['ChallengeInfo'] = b64challenge
res = await corsFetch(licUrl, "POST", licHeaders, payload, "json")
licence = res['ServiceResponse']['OutData']['LicenseInfo']