Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: cannot access local variable 'license_b64' where it is not associated with a value #89

Open
pokemaster974 opened this issue Jun 18, 2023 · 0 comments
Labels
add site support New feature request

Comments

@pokemaster974
Copy link

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.
image

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.

@pokemaster974 pokemaster974 added the add site support New feature request label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add site support New feature request
Projects
None yet
Development

No branches or pull requests

1 participant