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: local variable 'license_b64' referenced before assignment #88

Open
mbch331 opened this issue Jun 9, 2023 · 0 comments

Comments

@mbch331
Copy link

mbch331 commented Jun 9, 2023

I tried to get the key for a video from npostart.nl
First I got an error that token couldn't be found.
I copied the value from tokenID from params
Then provider was missing, added a line for that too
Then releasePid was missing, set that to an empty sting.
This is the resulting headers.py
headers.py.txt

Then I got this error:

Traceback (most recent call last):
  File "/home/remko/dev/python/widevine_keys/l3.py", line 130, in <module>
    correct, keys = WV_Function(pssh, lic_url)
  File "/home/remko/dev/python/widevine_keys/l3.py", line 125, in WV_Function
    wvdecrypt.update_license(license_b64)
UnboundLocalError: local variable 'license_b64' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant