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