Pywidevine does this without having to do it on the scheme side. This makes the scheme more concise.
8 lines
133 B
Python
8 lines
133 B
Python
res = await (await pyfetch(licUrl,
|
|
method="POST",
|
|
headers=licHeaders,
|
|
body=challenge
|
|
)).json()
|
|
licence = res['license']
|
|
|