1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-21 10:26:41 +00:00

[ie/youtube] Use impersonation for downloading subtitles (#13786)

Closes #13770
Authored by: bashonly
This commit is contained in:
bashonly 2025-07-20 18:22:04 -05:00 committed by GitHub
parent a4561c7a66
commit 8820101aa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4056,6 +4056,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'ext': fmt,
'url': urljoin('https://www.youtube.com', update_url_query(base_url, query)),
'name': sub_name,
'impersonate': True,
STREAMING_DATA_CLIENT_NAME: client_name,
})