logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: fa3db383330501f00fb0353a3989aef272b571f2
parent 30fa5c6087d2e5e7a2bfe395ffbb267d92959356
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri,  8 May 2020 17:42:30 +0700

[youtube] Improve signature cipher extraction (closes #25188)

Diffstat:

Myoutube_dl/extractor/youtube.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py @@ -1966,7 +1966,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): url = url_or_none(fmt.get('url')) if not url: - cipher = fmt.get('cipher') + cipher = fmt.get('cipher') or fmt.get('signatureCipher') if not cipher: continue url_data = compat_parse_qs(cipher)