Add moTV by request(Closes #27)

This commit is contained in:
FoxRefire
2024-06-12 07:20:52 +09:00
parent f75998d54c
commit 69767ae7ae
3 changed files with 11 additions and 1 deletions

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

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