Add DRMToday scheme
This commit is contained in:
8
python/schemes/DRMToday.py
Normal file
8
python/schemes/DRMToday.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import base64
|
||||
res = await (await pyfetch(licUrl,
|
||||
method="POST",
|
||||
headers=licHeaders,
|
||||
body=challenge
|
||||
)).json()
|
||||
licence = base64.b64decode(res['license'].encode())
|
||||
|
||||
Reference in New Issue
Block a user