aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-08-14 01:18:58 -0700
committerPhilipp Hagemeister <phihag@phihag.de>2013-08-14 01:18:58 -0700
commit718ced8d8c83fa8df56306f9a40a5c3ed7ecc948 (patch)
tree1713be5680418010fbd38f7a89d30e17a0ff7eab /youtube_dl/extractor/youtube.py
parent0577177e3e504b3c893b03e5683382ad64863ca8 (diff)
parente1842025d0403784d5a9af82e4fbd4b71fb31b11 (diff)
Merge pull request #1239 from patrickslin/patch-3
Updated Vevo Signature Length (fixes #1237)
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 3a8edbdc2..64a3e39c1 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -348,7 +348,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
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:
- return s[:15] + s[80] + s[16:80] + s[15]
+ 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]
elif len(s) == 81: