aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-27 12:24:46 +0200
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-27 12:24:46 +0200
commit23300d71493a72e51053efbf5fbdb9fef0544336 (patch)
treea8bf5a2fff63db60202e10096568880918ddcdb0 /youtube_dl
parentf5756f388aa30cf4b29b93c05f000696be10f701 (diff)
a new day, a new s algo - fix #946
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 8470c40e2..997278cab 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -139,7 +139,7 @@ class YoutubeIE(InfoExtractor):
elif len(s) == 87:
return s[62] + s[82:62:-1] + s[83] + s[61:52:-1] + s[0] + s[51:2:-1]
elif len(s) == 86:
- return s[2:17] + s[0] + s[18:41] + s[79] + s[42:79] + s[82] + s[80:82] + s[41]
+ return s[2:63] + s[82] + s[64:82] + s[63]
elif len(s) == 85:
return s[76] + s[82:76:-1] + s[83] + s[75:60:-1] + s[0] + s[59:50:-1] + s[1] + s[49:2:-1]
elif len(s) == 84: