Browse Source

YoutubeIE: with age protected videos, add a missing "return" to return the signature decrypted with _decrypt_signature

Jaime Marquínez Ferrándiz 12 years ago
parent
commit
b072a9defd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/youtube.py

+ 1 - 1
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):