aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-08-15 13:38:32 -0700
committerPhilipp Hagemeister <phihag@phihag.de>2013-08-15 13:38:32 -0700
commit71ea844c0e2cc1eacf5f00a7f344eb9305add105 (patch)
treef8416302f4e7bad9928abba65fad733193ce3afe
parentd1ba998274e96467184575e6bc0c33e698e714bf (diff)
parent3a7256697e7c97a79f51d6ef6b9a1108bf8d7d3a (diff)
Merge pull request #1248 from patrickslin/patch-4
Unable to Download Video (fixes #1247)
-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 64a3e39c1..bf064c181 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -340,7 +340,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[83:53:-1] + s[3] + s[52:40:-1] + s[86] + s[39:10:-1] + s[0] + s[9:3:-1] + s[53]
+ return s[6:27] + s[4] + s[28:39] + s[27] + s[40:59] + s[2] + s[60:]
elif len(s) == 86:
return s[5:20] + s[2] + s[21:]
elif len(s) == 85: