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 authored and pareronia committed Jun 22, 2020
1 parent 52ed497 commit fa7bd6b
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 fa7bd6b

Please sign in to comment.