1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-01 19:47:01 +00:00

Remove allow-u from extractors

This commit is contained in:
Simon Sawicki
2024-12-20 21:53:33 +01:00
parent 6e7072c53a
commit ec8b22b1c1
19 changed files with 48 additions and 35 deletions

View File

@@ -126,8 +126,7 @@ class ToggleIE(InfoExtractor):
})
if not formats:
for meta in (info.get('Metas') or []):
if (not self.get_param('allow_unplayable_formats')
and meta.get('Key') == 'Encryption' and meta.get('Value') == '1'):
if meta.get('Key') == 'Encryption' and meta.get('Value') == '1':
self.report_drm(video_id)
# Most likely because geo-blocked if no formats and no DRM