diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-03-21 12:18:33 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-03-21 12:18:33 +0100 |
commit | 85698c508651cc047b0ba2181580d99ed057ef0d (patch) | |
tree | 438ad793daa3ede89103f615f3a8f19aeb3b6b3f | |
parent | a7d9ded45dac709fbb9140ab3525a10a2a6d3c85 (diff) |
[crunchyroll] Remove unused class
-rw-r--r-- | youtube_dl/extractor/crunchyroll.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index e64b88fbc..6ded723c9 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -23,7 +23,6 @@ from ..utils import ( ) from ..aes import ( aes_cbc_decrypt, - inc, ) @@ -102,13 +101,6 @@ class CrunchyrollIE(InfoExtractor): 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)) return zlib.decompress(decrypted_data) |