mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-15 03:41:33 +01:00
make formats extraction fatal
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
51f3ab4d84
commit
252c9011bf
1 changed files with 1 additions and 1 deletions
|
@ -146,8 +146,8 @@ class NZOnScreenIE(InfoExtractor):
|
||||||
'url': traverse_obj(playinfo, ('h264', 'caption_url', {urljoin('https://www.nzonscreen.com')})),
|
'url': traverse_obj(playinfo, ('h264', 'caption_url', {urljoin('https://www.nzonscreen.com')})),
|
||||||
'ext': 'vtt',
|
'ext': 'vtt',
|
||||||
}]},
|
}]},
|
||||||
|
'formats': self._extract_formats(playinfo),
|
||||||
**traverse_obj(playinfo, {
|
**traverse_obj(playinfo, {
|
||||||
'formats': {self._extract_formats},
|
|
||||||
'id': 'uuid',
|
'id': 'uuid',
|
||||||
'title': ('label', {strip_or_none}),
|
'title': ('label', {strip_or_none}),
|
||||||
'description': ('description', {strip_or_none}),
|
'description': ('description', {strip_or_none}),
|
||||||
|
|
Loading…
Reference in a new issue