commit: 00eb865b3c8002f47e73706b54f58feaee0b0ac2
parent 2f1983572659415354c88743130a303af8188caf
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 11 Apr 2020 23:05:08 +0700
[youtube] Fix DRM videos detection (refs #24736)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'))