I tried to make this script working for canalplus.com website.
Adding my own CDM
Adding headers request into the headers.py
Successed to have a license_content.bin file.
If I waiting too long, I got an status 403 instead of status 200.

But got an issue in the end of the script :
Traceback (most recent call last):
File "C:\Users\Sebastien\Desktop\widevine_keys-main\l3.py", line 92, in <module>
correct, keys = WV_Function(pssh, lic_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sebastien\Desktop\widevine_keys-main\l3.py", line 87, in WV_Function
wvdecrypt.update_license(license_b64)
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'license_b64' where it is not associated with a value
Do you have an idea if it's possible to make it working ?
Regards.