projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f7263
)
[adn] update subtitle decryption key
author
Remita Amine
<remitamine@gmail.com>
Sun, 9 Apr 2017 11:32:26 +0000
(12:32 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sun, 9 Apr 2017 11:33:29 +0000
(12:33 +0100)
youtube_dl/extractor/adn.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/adn.py
b/youtube_dl/extractor/adn.py
index e44caa00b2528ff29482230046c608aea1876015..66caf6a818278796648dd4496da95c661fcdb36c 100644
(file)
--- a/
youtube_dl/extractor/adn.py
+++ b/
youtube_dl/extractor/adn.py
@@
-45,7
+45,7
@@
class ADNIE(InfoExtractor):
# http://animedigitalnetwork.fr/components/com_vodvideo/videojs/adn-vjs.min.js
dec_subtitles = intlist_to_bytes(aes_cbc_decrypt(
bytes_to_intlist(base64.b64decode(enc_subtitles[24:])),
- bytes_to_intlist(b'\
xb5@\xcfq\xa3\x98"N\xe4\xf3\x12\x98}}\x16\xd8
'),
+ bytes_to_intlist(b'\
nd\xaf\xd2J\xd0\xfc\xe1\xfc\xdf\xb61\xe8\xe1\xf0\xcc
'),
bytes_to_intlist(base64.b64decode(enc_subtitles[:24]))
))
subtitles_json = self._parse_json(