1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-08 17:25:21 +00:00

[ie/youtube] Detect experiment binding GVS PO Token to video id (#14471)

Fixes https://github.com/yt-dlp/yt-dlp/issues/14421

Authored by: coletdjnz
This commit is contained in:
coletdjnz
2025-09-29 16:25:09 +13:00
committed by GitHub
parent 88e2a2de8e
commit bd5ed90419
4 changed files with 28 additions and 2 deletions

View File

@@ -58,6 +58,8 @@ class PoTokenRequest:
visitor_data: str | None = None
data_sync_id: str | None = None
video_id: str | None = None
# Internal, YouTube experiment on whether to bind GVS PO Token to video_id.
_gvs_bind_to_video_id: bool = False
# Networking parameters
request_cookiejar: YoutubeDLCookieJar = dataclasses.field(default_factory=YoutubeDLCookieJar)