瀏覽代碼

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

Jaime Marquínez Ferrándiz 12 年之前
父節點
當前提交
b072a9defd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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):