mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 01:45:13 +00:00
[GoogleDrive] fix: don't nuke entire .google.com cookie jar
This commit is contained in:
parent
6747507236
commit
d35cf6b7ba
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ def add_source_format(src_url):
|
||||||
subtitles_id = ttsurl.encode('utf-8').decode(
|
subtitles_id = ttsurl.encode('utf-8').decode(
|
||||||
'unicode_escape').split('=')[-1]
|
'unicode_escape').split('=')[-1]
|
||||||
|
|
||||||
self._downloader.cookiejar.clear('.google.com')
|
self._downloader.cookiejar.clear(domain='.google.com', path='/', name='NID')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
|
Loading…
Reference in a new issue