mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
YoutubeIE: with age protected videos, add a missing "return" to return the signature decrypted with _decrypt_signature
This commit is contained in:
parent
75952c6e3d
commit
b072a9defd
|
@ -310,7 +310,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
return s[2:63] + s[82] + s[64:82] + s[63]
|
return s[2:63] + s[82] + s[64:82] + s[63]
|
||||||
else:
|
else:
|
||||||
# Fallback to the other algortihms
|
# Fallback to the other algortihms
|
||||||
self._decrypt_signature(s)
|
return self._decrypt_signature(s)
|
||||||
|
|
||||||
|
|
||||||
def _get_available_subtitles(self, video_id):
|
def _get_available_subtitles(self, video_id):
|
||||||
|
|
Loading…
Reference in a new issue