This commit is contained in:
FoxRefire 2024-05-01 03:51:00 +09:00
parent d86991455d
commit 7449ea8096

View File

@ -27,12 +27,11 @@ except OSError:
except OSError:
raise FileNotFoundError("CDM Keys not found!, RTFM!")
else:
device = Device(client_id=cID,
private_key=pKey,
type_=DeviceTypes['ANDROID'],
security_level=3,
flags=None)
device = Device(client_id=cID,
private_key=pKey,
type_=DeviceTypes['ANDROID'],
security_level=3,
flags=None)
# load cdm
cdm = Cdm.from_device(device)