Invalid signature again (fixes #1215)
authorpatrickslin <patrickslin@gmail.com>
Thu, 8 Aug 2013 18:28:50 +0000 (11:28 -0700)
committerpatrickslin <patrickslin@gmail.com>
Thu, 8 Aug 2013 18:28:50 +0000 (11:28 -0700)
youtube_dl/extractor/youtube.py

index b191021db5a8069d1f7f3ffbc590063224eee4c4..ba2da4c51465550074c5cce8d29947dfc630a3aa 100644 (file)
@@ -340,7 +340,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
         elif len(s) == 87:
             return s[83:53:-1] + s[3] + s[52:40:-1] + s[86] + s[39:10:-1] + s[0] + s[9:3:-1] + s[53]
         elif len(s) == 86:
-            return s[83:85] + s[26] + s[79:46:-1] + s[85] + s[45:36:-1] + s[30] + s[35:30:-1] + s[46] + s[29:26:-1] + s[82] + s[25:1:-1]
+            return s[5:20] + s[2] + s[21:]
         elif len(s) == 85:
             return s[2:8] + s[0] + s[9:21] + s[65] + s[22:65] + s[84] + s[66:82] + s[21]
         elif len(s) == 84: