medvm / widevine_keys

This repo created for bypassing Widevine L3 DRM and obtaining keys.
450 stars 186 forks source link

TypeError #77

Open f0n1x opened 2 years ago

f0n1x commented 2 years ago

Traceback (most recent call last): File "/home/user/widevine_keys/l3.py", line 130, in correct, keys = WV_Function(pssh, lic_url) File "/home/user/widevine_keys/l3.py", line 39, in WV_Function wvdecrypt = WvDecrypt(init_data_b64=pssh, cert_data_b64=cert_b64, device=deviceconfig.device_android_generic)
File "/home/user/widevine_keys/wvdecryptcustom.py", line 33, in init self.session = self.cdm.open_session(check_pssh(self.init_data_b64), deviceconfig.DeviceConfig(self.device)) File "/home/user/widevine_keys/wvdecryptcustom.py", line 19, in check_pssh pssh = base64.b64decode(pssh_b64) File "/usr/lib64/python3.9/base64.py", line 80, in b64decode s = _bytes_from_decode_data(s) File "/usr/lib64/python3.9/base64.py", line 45, in _bytes_from_decode_data raise TypeError("argument should be a bytes-like object or ASCII " TypeError: argument should be a bytes-like object or ASCII string, not 'dict'

Got this error while attempting to derive keys for a show on BYUtv (free) for a friend. Any help would be appreciated.

inxsq commented 2 years ago

same problem, anyone can help about this?

Chris230291 commented 1 year ago

Same here