aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-07-31 10:51:00 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-07-31 10:51:00 +0200
commitb072a9defd75918eb4c372e54b44fa7c6b1fbdd5 (patch)
tree5a05192f09b27209a9879b46611ce3947c551222 /youtube_dl/extractor/youtube.py
parent75952c6e3dcbab1b7c239b02272ca1bb5336f72d (diff)
YoutubeIE: with age protected videos, add a missing "return" to return the signature decrypted with _decrypt_signature
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 ba8fdfdf2..3932678a3 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -310,7 +310,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
return s[2:63] + s[82] + s[64:82] + s[63]
else:
# Fallback to the other algortihms
- self._decrypt_signature(s)
+ return self._decrypt_signature(s)
def _get_available_subtitles(self, video_id):