keep track of the dates and html5player versions of working YT signature algos
[youtube-dl] / youtube_dl / extractor / youtube.py
index 96d8257d9093fe0892faefe18fd789b6ef207e5a..025afb3904ed62da925fb8d7b5db2501cd7b9805 100644 (file)
@@ -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]