From b072a9defd75918eb4c372e54b44fa7c6b1fbdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Wed, 31 Jul 2013 10:51:00 +0200 Subject: [PATCH] YoutubeIE: with age protected videos, add a missing "return" to return the signature decrypted with _decrypt_signature --- youtube_dl/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index ba8fdfdf2..3932678a3 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -310,7 +310,7 @@ def _decrypt_signature_age_gate(self, s): 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):