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:
parent
1cda536f28
commit
a58f047b7f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user