]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
YoutubeIE: with age protected videos, add a missing "return" to return the signature...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 31 Jul 2013 08:51:00 +0000 (10:51 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 31 Jul 2013 08:51:00 +0000 (10:51 +0200)
youtube_dl/extractor/youtube.py

index ba8fdfdf2e998d9a73ca25246ec1fcac97b2faa9..3932678a3c1790474f7b43d558a541eb0af32e3d 100644 (file)
@@ -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):