aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-08-08 11:44:29 -0700
committerPhilipp Hagemeister <phihag@phihag.de>2013-08-08 11:44:29 -0700
commit9f4ab73d7fda240b5e696f4adb67263cfcb74290 (patch)
tree96426eb07401fc46950007963c33c5f6c48cd712 /youtube_dl
parent67fb0c5495eb336e74da243e83a65acbf0a3dba8 (diff)
parent02cf62e2403a83196c51762016a2c1ba29f35f90 (diff)
Merge pull request #1216 from patrickslin/patch-5
Invalid signature again (fixes #1215)
Diffstat (limited to 'youtube_dl')
-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 b191021db..ba2da4c51 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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: