From 27a4a3cee7d382f3bbc3d43b9f085fb54633a154 Mon Sep 17 00:00:00 2001 From: dove <147140405+slipinthedove@users.noreply.github.com> Date: Thu, 12 Dec 2024 23:12:42 -0300 Subject: [PATCH] [globo] remove unplayable_formats parameter Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> --- yt_dlp/extractor/globo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/globo.py b/yt_dlp/extractor/globo.py index e2e97b8f6..5f9cc64f9 100644 --- a/yt_dlp/extractor/globo.py +++ b/yt_dlp/extractor/globo.py @@ -79,7 +79,7 @@ class GloboIE(InfoExtractor): 'tz': '-03:00', 'version': 1, }).encode()) - if not self.get_param('allow_unplayable_formats') and security['resource'].get('drm_protection_enabled') is True: + if traverse_obj(video, ('resource', 'drm_protection_enabled', {bool})): self.report_drm(video_id) main_resource = security['sources'][0]