projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab1018
)
[youtube] new static 82 signature
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 3 Oct 2013 22:43:01 +0000
(
00:43
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 3 Oct 2013 22:43:01 +0000
(
00:43
+0200)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 9ca29a043f677a9d020c9aa3bde1b008ebadf6d2..39ff33290cc617f853026712cece2155c335f5fb 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1087,7
+1087,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
elif len(s) == 83:
return s[80:63:-1] + s[0] + s[62:0:-1] + s[63]
elif len(s) == 82:
- return s[
12] + s[79:12:-1] + s[80] + s[11::-1
]
+ return s[
80:37:-1] + s[7] + s[36:7:-1] + s[0] + s[6:0:-1] + s[37
]
elif len(s) == 81:
return s[56] + s[79:56:-1] + s[41] + s[55:41:-1] + s[80] + s[40:34:-1] + s[0] + s[33:29:-1] + s[34] + s[28:9:-1] + s[29] + s[8:0:-1] + s[9]
elif len(s) == 80: