mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-27 02:09:06 +00:00
[crunchyroll] Remove unused class
This commit is contained in:
parent
a7d9ded45d
commit
85698c5086
1 changed files with 0 additions and 8 deletions
|
@ -23,7 +23,6 @@ from ..utils import (
|
||||||
)
|
)
|
||||||
from ..aes import (
|
from ..aes import (
|
||||||
aes_cbc_decrypt,
|
aes_cbc_decrypt,
|
||||||
inc,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -102,13 +101,6 @@ class CrunchyrollIE(InfoExtractor):
|
||||||
|
|
||||||
key = obfuscate_key(id)
|
key = obfuscate_key(id)
|
||||||
|
|
||||||
class Counter:
|
|
||||||
__value = iv
|
|
||||||
|
|
||||||
def next_value(self):
|
|
||||||
temp = self.__value
|
|
||||||
self.__value = inc(self.__value)
|
|
||||||
return temp
|
|
||||||
decrypted_data = intlist_to_bytes(aes_cbc_decrypt(data, key, iv))
|
decrypted_data = intlist_to_bytes(aes_cbc_decrypt(data, key, iv))
|
||||||
return zlib.decompress(decrypted_data)
|
return zlib.decompress(decrypted_data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue