aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-08-07 20:19:51 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-08-07 20:19:51 +0200
commit356e0673903f40607eae0314db53bba876e54fd2 (patch)
tree975cafd83b8e84701b5876ab7d55f2aa739fe558
parente2f48f96436f24af3001b4fc2600cc3d3c1bf0ac (diff)
parent36cb11f068b8bfc2822bdeca59f6dc2e42f896f9 (diff)
Merge remote-tracking branch 'patrickslin/patch-4'
-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 7df79b943..b191021db 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -338,7 +338,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
elif 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]
elif len(s) == 87:
- return s[4:23] + s[86] + s[24:85]
+ 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]
elif len(s) == 85: