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]