1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2025-11-06 05:07:06 -05:00

[youtube] Fix DRM videos detection (refs #24736)

This commit is contained in:
Sergey M․
2020-04-11 23:05:08 +07:00
parent 2f19835726
commit 00eb865b3c

View File

@@ -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'))