[globo] remove unplayable_formats parameter

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
pull/11795/head
dove 2 weeks ago committed by GitHub
parent ede30395a6
commit 27a4a3cee7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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]

Loading…
Cancel
Save