diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-05-08 17:42:30 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-05-08 17:42:30 +0700 |
commit | fa3db383330501f00fb0353a3989aef272b571f2 (patch) | |
tree | 4a9a4a7ca4d21da44ff6f68404fe05d644636d41 | |
parent | 30fa5c6087d2e5e7a2bfe395ffbb267d92959356 (diff) |
[youtube] Improve signature cipher extraction (closes #25188)
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |