Add moTV by request(Closes #27)
This commit is contained in:
7
python/schemes/moTV.py
Normal file
7
python/schemes/moTV.py
Normal 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']
|
||||
Reference in New Issue
Block a user