Browse Source

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

master
Sergey M․ 5 years ago
parent
commit
00eb865b3c
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youtube.py

+ 1
- 1
youtube_dl/extractor/youtube.py View File

@ -1930,7 +1930,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
} }
for fmt in streaming_formats: for fmt in streaming_formats:
if fmt.get('drm_families'):
if fmt.get('drmFamilies') or fmt.get('drm_families'):
continue continue
url = url_or_none(fmt.get('url')) url = url_or_none(fmt.get('url'))


Loading…
Cancel
Save