mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-20 06:58:57 +00:00
Remove allow-u from extractors
This commit is contained in:
@@ -464,6 +464,7 @@ class KalturaIE(InfoExtractor):
|
||||
|
||||
formats = []
|
||||
subtitles = {}
|
||||
has_drm = False
|
||||
for f in flavor_assets:
|
||||
# Continue if asset is not ready
|
||||
if f.get('status') != 2:
|
||||
@@ -473,7 +474,8 @@ class KalturaIE(InfoExtractor):
|
||||
if f.get('fileExt') == 'chun':
|
||||
continue
|
||||
# DRM-protected video, cannot be decrypted
|
||||
if not self.get_param('allow_unplayable_formats') and f.get('fileExt') == 'wvm':
|
||||
if f.get('fileExt') == 'wvm':
|
||||
has_drm = True
|
||||
continue
|
||||
if not f.get('fileExt'):
|
||||
# QT indicates QuickTime; some videos have broken fileExt
|
||||
@@ -513,6 +515,9 @@ class KalturaIE(InfoExtractor):
|
||||
formats.extend(fmts)
|
||||
self._merge_subtitles(subs, target=subtitles)
|
||||
|
||||
if not formats and has_drm:
|
||||
self.report_drm(entry_id)
|
||||
|
||||
if captions:
|
||||
for caption in captions.get('objects', []):
|
||||
# Continue if caption is not ready
|
||||
|
||||
Reference in New Issue
Block a user