aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorIsmael Mejia <iemejia@gmail.com>2013-08-23 01:47:10 +0200
committerIsmael Mejia <iemejia@gmail.com>2013-08-23 01:47:10 +0200
commitbd2dee6c67b837bdebdd28d10d9586129021330e (patch)
treedd4d015fa68451cf8892534c41c3d4cd18f59405 /youtube_dl/extractor/youtube.py
parent18b4e04f1c663e0ea695f6501b860f85af9d7ca1 (diff)
parent74e6672beb23ca372a06431ad17a9d79cda6382e (diff)
Merge branch 'master' into subtitles_rework
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-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 f6ffb86c3..571c73889 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -372,7 +372,7 @@ class YoutubeIE(YoutubeSubtitlesIE):
elif len(s) == 83:
return s[81:64:-1] + s[82] + s[63:52:-1] + s[45] + s[51:45:-1] + s[1] + s[44:1:-1] + s[0]
elif len(s) == 82:
- return s[36] + s[79:67:-1] + s[81] + s[66:40:-1] + s[33] + s[39:36:-1] + s[40] + s[35] + s[0] + s[67] + s[32:0:-1] + s[34]
+ return s[1:19] + s[0] + s[20:68] + s[19] + s[69:82]
elif len(s) == 81:
return s[56] + s[79:56:-1] + s[41] + s[55:41:-1] + s[80] + s[40:34:-1] + s[0] + s[33:29:-1] + s[34] + s[28:9:-1] + s[29] + s[8:0:-1] + s[9]
elif len(s) == 79: