Format imports

This commit is contained in:
hyugogirubato 2024-07-18 00:09:04 +02:00
parent 26cfa69fd0
commit 1d3fe8477e
3 changed files with 6 additions and 1 deletions

View File

@ -2,12 +2,14 @@ import argparse
import logging import logging
import subprocess import subprocess
import time import time
from datetime import datetime from datetime import datetime
from pathlib import Path from pathlib import Path
import coloredlogs import coloredlogs
import keydive import keydive
from keydive.cdm import Cdm from keydive.cdm import Cdm
from keydive.constants import CDM_VENDOR_API from keydive.constants import CDM_VENDOR_API
from keydive.core import Core from keydive.core import Core

View File

@ -2,16 +2,17 @@ import base64
import json import json
import logging import logging
import re import re
from pathlib import Path from pathlib import Path
from typing import Union from typing import Union
from zlib import crc32 from zlib import crc32
from unidecode import unidecode
from Cryptodome.PublicKey import RSA from Cryptodome.PublicKey import RSA
from Cryptodome.PublicKey.RSA import RsaKey from Cryptodome.PublicKey.RSA import RsaKey
from pywidevine.device import Device, DeviceTypes from pywidevine.device import Device, DeviceTypes
from pywidevine.license_protocol_pb2 import (SignedMessage, LicenseRequest, ClientIdentification, SignedDrmCertificate, from pywidevine.license_protocol_pb2 import (SignedMessage, LicenseRequest, ClientIdentification, SignedDrmCertificate,
DrmCertificate, EncryptedClientIdentification) DrmCertificate, EncryptedClientIdentification)
from unidecode import unidecode
def sanitize(path: Path) -> Path: def sanitize(path: Path) -> Path:

View File

@ -2,10 +2,12 @@ import json
import logging import logging
import re import re
import subprocess import subprocess
from pathlib import Path from pathlib import Path
import frida import frida
import xmltodict import xmltodict
from frida.core import Device, Session, Script from frida.core import Device, Session, Script
from keydive.cdm import Cdm from keydive.cdm import Cdm