mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 10:07:43 -05:00
[globo] remove unplayable_formats parameter
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
ede30395a6
commit
27a4a3cee7
@ -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…
Reference in New Issue
Block a user