make formats extraction fatal

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
pull/10962/head
N/Ame 7 months ago committed by GitHub
parent 51f3ab4d84
commit 252c9011bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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}),

Loading…
Cancel
Save