[cleanup] Deprecate more compat functions (#11439)

Authored by: seproDev
This commit is contained in:
sepro authored and GitHub committed 2024-11-17 00:24:11 +01:00
1 parent 1d253b0a27
commit f95a92b3d0
38 files changed
+218 -363

No files matched your search

+1 -2
View File
@@ -11,13 +11,12 @@ import codecs
import subprocess
from yt_dlp.aes import aes_encrypt, key_expansion
from yt_dlp.utils import intlist_to_bytes
secret_msg = b'Secret message goes here'
def hex_str(int_list):
return codecs.encode(intlist_to_bytes(int_list), 'hex')
return codecs.encode(bytes(int_list), 'hex')
def openssl_encode(algo, key, iv):