mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-22 19:06:38 +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 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||||||
'ext': fmt,
|
'ext': fmt,
|
||||||
'url': urljoin('https://www.youtube.com', update_url_query(base_url, query)),
|
'url': urljoin('https://www.youtube.com', update_url_query(base_url, query)),
|
||||||
'name': sub_name,
|
'name': sub_name,
|
||||||
|
'impersonate': True,
|
||||||
STREAMING_DATA_CLIENT_NAME: client_name,
|
STREAMING_DATA_CLIENT_NAME: client_name,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user