diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-08-16 14:07:49 -0700 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-08-16 14:07:49 -0700 |
commit | b9c37b92cf5c4c8c6045d532b716079d641c2abf (patch) | |
tree | 68f8dd57395a08967dcca6f5d691cf8a8ea8b3ca /youtube_dl | |
parent | 6daccbe3172dbddb75cbd55871b283e3c33a51e2 (diff) | |
parent | f9c3c90ca8bee20f99d6172371b749ed7223588e (diff) | |
download | youtube-dl-b9c37b92cf5c4c8c6045d532b716079d641c2abf.tar.xz |
Merge pull request #1256 from patrickslin/patch-5
Length 85 changed again? (fixes #1254)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index bf064c181..f74718950 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -344,7 +344,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): elif len(s) == 86: 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] + return s[83:34:-1] + s[0] + s[33:27:-1] + s[3] + s[26:19:-1] + s[34] + s[18:3:-1] + s[27] elif len(s) == 84: return s[83:27:-1] + s[0] + s[26:5:-1] + s[2:0:-1] + s[27] elif len(s) == 83: |