mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue