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

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-07-31 10:51:00 +02:00
parent 75952c6e3d
commit b072a9defd

View 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):