From 252c9011bf6e89bb2fd48e1186fdcd36bd696e14 Mon Sep 17 00:00:00 2001 From: N/Ame <173015200+grqz@users.noreply.github.com> Date: Thu, 26 Dec 2024 20:26:47 +1300 Subject: [PATCH] make formats extraction fatal Co-authored-by: pukkandan --- yt_dlp/extractor/nzonscreen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/nzonscreen.py b/yt_dlp/extractor/nzonscreen.py index 5aac3f922..74edcd1b2 100644 --- a/yt_dlp/extractor/nzonscreen.py +++ b/yt_dlp/extractor/nzonscreen.py @@ -146,8 +146,8 @@ def _real_extract(self, url): '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}),