aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-05-08 17:42:30 +0700
committerSergey M․ <dstftw@gmail.com>2020-05-08 17:42:30 +0700
commitfa3db383330501f00fb0353a3989aef272b571f2 (patch)
tree4a9a4a7ca4d21da44ff6f68404fe05d644636d41 /youtube_dl/extractor
parent30fa5c6087d2e5e7a2bfe395ffbb267d92959356 (diff)
[youtube] Improve signature cipher extraction (closes #25188)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/youtube.py2
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)