Working version
This commit is contained in:
4
python/schemes/YouTube.py
Normal file
4
python/schemes/YouTube.py
Normal file
@@ -0,0 +1,4 @@
|
||||
payload = loadBody('json')
|
||||
payload['licenseRequest'] = getChallenge('b64', Cdm.common_privacy_cert)
|
||||
licence = await corsFetch(licUrl, "POST", licHeaders, payload, "json")
|
||||
licence = licence['license'].replace("-", "+").replace("_", "/")
|
||||
Reference in New Issue
Block a user