From: Sergey M․ Date: Fri, 8 May 2020 10:42:30 +0000 (+0700) Subject: [youtube] Improve signature cipher extraction (closes #25188) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=fa3db383330501f00fb0353a3989aef272b571f2;p=youtube-dl.git [youtube] Improve signature cipher extraction (closes #25188) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 5ea66c962..9f7483905 100644 --- 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)