projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2cf654
)
[crunchyroll] Fix python 3.2
author
Sergey M․
<dstftw@gmail.com>
Sat, 30 May 2015 08:36:45 +0000
(14:36 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 30 May 2015 08:36:45 +0000
(14:36 +0600)
youtube_dl/extractor/crunchyroll.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/crunchyroll.py
b/youtube_dl/extractor/crunchyroll.py
index 4ac537a6d7481eb426303183055b36f3f8fc4aa3..41f0c736d98c229518bacb41fac2f35ce9b80958 100644
(file)
--- a/
youtube_dl/extractor/crunchyroll.py
+++ b/
youtube_dl/extractor/crunchyroll.py
@@
-76,8
+76,8
@@
class CrunchyrollIE(InfoExtractor):
self._login()
def _decrypt_subtitles(self, data, iv, id):
- data = bytes_to_intlist(base64.b64decode(data))
- iv = bytes_to_intlist(base64.b64decode(iv))
+ data = bytes_to_intlist(base64.b64decode(data
.encode('utf-8')
))
+ iv = bytes_to_intlist(base64.b64decode(iv
.encode('utf-8')
))
id = int(id)
def obfuscate_key_aux(count, modulo, start):