From: Jaime Marquínez Ferrándiz Date: Wed, 31 Jul 2013 08:51:00 +0000 (+0200) Subject: YoutubeIE: with age protected videos, add a missing "return" to return the signature... X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b072a9defd75918eb4c372e54b44fa7c6b1fbdd5;p=youtube-dl YoutubeIE: with age protected videos, add a missing "return" to return the signature decrypted with _decrypt_signature --- 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):