aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-27 22:20:50 +0200
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-29 01:05:36 +0200
commit257a2501facdef0a4079e7aa9f037df6935a4fd7 (patch)
tree1397583bdf6cfc112bd8fcc0d9b056c940dbc5fd /youtube_dl/extractor/youtube.py
parent99afb3ddd4ef38ff83806cfcd945e0bd6208e2c6 (diff)
keep track of the dates and html5player versions of working YT signature algos
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 96d8257d9..025afb390 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -168,7 +168,7 @@ class YoutubeIE(InfoExtractor):
self.to_screen(u'RTMP download detected')
def _decrypt_signature(self, s):
- """Decrypt the key"""
+ """Turn the encrypted s field into a working signature"""
if len(s) == 88:
return s[48] + s[81:67:-1] + s[82] + s[66:62:-1] + s[85] + s[61:48:-1] + s[67] + s[47:12:-1] + s[3] + s[11:3:-1] + s[2] + s[12]