mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-27 07:38:30 +00:00
[ie/youtube] Use impersonation for downloading subtitles (#13786)
Closes #13770 Authored by: bashonly
This commit is contained in:
parent
a4561c7a66
commit
8820101aa3
@ -4056,6 +4056,7 @@ def process_language(container, base_url, lang_code, sub_name, client_name, quer
|
||||
'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,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user