Skip to content

Commit

Permalink
[youtube] Fix DRM videos detection (refs #24736)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Apr 11, 2020
1 parent 2f19835 commit 00eb865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ def _extract_filesize(media_url):
}

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

Expand Down

0 comments on commit 00eb865

Please sign in to comment.