1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 08:58:30 +00:00
This commit is contained in:
bashonly 2025-06-22 22:26:45 +00:00 committed by GitHub
parent 1ded2a3faa
commit 3f9542f4e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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