From: Sergey M․ Date: Sat, 11 Apr 2020 16:05:08 +0000 (+0700) Subject: [youtube] Fix DRM videos detection (refs #24736) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=00eb865b3c8002f47e73706b54f58feaee0b0ac2;p=youtube-dl [youtube] Fix DRM videos detection (refs #24736) --- 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'))