Add NosTV by request

This commit is contained in:
FoxRefire
2024-05-08 09:18:01 +09:00
parent b10a38e7b4
commit 6eba2a85a5
3 changed files with 9 additions and 0 deletions

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

@@ -0,0 +1,7 @@
b64challenge = base64.b64encode(challenge).decode()
res = await (await pyfetch(licUrl,
method="POST",
headers=licHeaders,
body=json.dumps({"challenge": b64challenge})
)).json()
licence = base64.b64decode(res["license"][0].encode())