From 3f9542f4e8dffc8d14ae88ac1851c167cd20f44d Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Sun, 22 Jun 2025 22:26:45 +0000 Subject: [PATCH] simplify --- yt_dlp/extractor/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 893b7f41f..9c17f721d 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -1787,7 +1787,7 @@ def _search_nextjs_v13_data(self, webpage, video_id, fatal=True): return nextjs_data def flatten(flight_data): - if not isinstance(flight_data, list) or not flight_data: + if not isinstance(flight_data, list): return if len(flight_data) == 4 and flight_data[0] == '$': _, name, _, data = flight_data