mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube] Fix DRM videos detection (refs #24736)
This commit is contained in:
parent
2f19835726
commit
00eb865b3c
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue