make formats extraction fatal

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
N/Ame 2024-12-26 20:26:47 +13:00 committed by GitHub
parent 51f3ab4d84
commit 252c9011bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,8 +146,8 @@ class NZOnScreenIE(InfoExtractor):
'url': traverse_obj(playinfo, ('h264', 'caption_url', {urljoin('https://www.nzonscreen.com')})),
'ext': 'vtt',
}]},
'formats': self._extract_formats(playinfo),
**traverse_obj(playinfo, {
'formats': {self._extract_formats},
'id': 'uuid',
'title': ('label', {strip_or_none}),
'description': ('description', {strip_or_none}),