projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fb245
)
Updated the 84 length signature decryption
author
AndreiArba
<andrei.arba@deiu.ro>
Tue, 6 Aug 2013 12:41:13 +0000
(15:41 +0300)
committer
AndreiArba
<andrei.arba@deiu.ro>
Tue, 6 Aug 2013 12:41:13 +0000
(15:41 +0300)
Updated the right 84 length signature decryption 06.08.2013
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 580f39ee848064380fbc420bcf6eb2eaae4b26aa..7577c12f5a71d0d39334e306d440ef8ba670782d 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-188,7
+188,7
@@
class YoutubeIE(InfoExtractor):
elif len(s) == 85:
return s[76] + s[82:76:-1] + s[83] + s[75:60:-1] + s[0] + s[59:50:-1] + s[1] + s[49:2:-1]
elif len(s) == 84:
- return s[83:
36:-1] + s[2] + s[35:26:-1] + s[3] + s[25:3:-1] + s[26
]
+ return s[83:
27:-1] + s[0] + s[26:5:-1] + s[2:0:-1] + s[27
]
elif len(s) == 83:
return s[6] + s[3:6] + s[33] + s[7:24] + s[0] + s[25:33] + s[53] + s[34:53] + s[24] + s[54:]
elif len(s) == 82: