1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-27 07:38:30 +00:00

fix comment

Authored by: bashonly
This commit is contained in:
bashonly 2025-07-12 16:36:04 -05:00
parent 1cda536f28
commit a58f047b7f
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -1817,7 +1817,7 @@ def flatten(flight_data):
f'{video_id}: Unsupported next.js flight data structure detected', only_once=True) f'{video_id}: Unsupported next.js flight data structure detected', only_once=True)
continue continue
# Only use the relevant payload type (1 == data) # Only use the relevant payload type (1 == data)
# Ref: https://github.com/vercel/next.js/blob/5a4a08fdc/packages/next/src/server/app-render/use-flight-response.tsx#L11-#L14 # Ref: https://github.com/vercel/next.js/blob/5a4a08fdc/packages/next/src/server/app-render/use-flight-response.tsx#L11-L14
payload_type, chunk = segment payload_type, chunk = segment
if payload_type == 1: if payload_type == 1:
flight_text += chunk flight_text += chunk