mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-16 03:40:50 +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',
|
'tz': '-03:00',
|
||||||
'version': 1,
|
'version': 1,
|
||||||
}).encode())
|
}).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)
|
self.report_drm(video_id)
|
||||||
|
|
||||||
main_resource = security['sources'][0]
|
main_resource = security['sources'][0]
|
||||||
|
|
Loading…
Reference in a new issue