diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-04-11 23:05:08 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-04-11 23:05:08 +0700 |
commit | 00eb865b3c8002f47e73706b54f58feaee0b0ac2 (patch) | |
tree | 5efb41be340b4b6056b3a8058ed65cfe69ccec42 /youtube_dl/extractor | |
parent | 2f1983572659415354c88743130a303af8188caf (diff) |
[youtube] Fix DRM videos detection (refs #24736)
Diffstat (limited to 'youtube_dl/extractor')
-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 633b839e0..afaa12b1b 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1930,7 +1930,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): } for fmt in streaming_formats: - if fmt.get('drm_families'): + if fmt.get('drmFamilies') or fmt.get('drm_families'): continue url = url_or_none(fmt.get('url')) |