Просмотр исходного кода

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

Jaime Marquínez Ferrándiz 12 лет назад
Родитель
Сommit
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):