wvg/python/schemes/GlobalTV.py
2024-05-02 06:37:00 +09:00

9 lines
264 B
Python

payload = json.loads(base64.b64decode(licBody.encode()).decode())
challengeArr = list(challenge)
payload['license_request_data']=challengeArr
licence = await (await pyfetch(licUrl,
method="POST",
headers=licHeaders,
body=json.dumps(payload)
)).bytes()