1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-01-01 14:57:51 +01:00

Merge branch 'fix/google-drive-cookie-issue' of https://github.com/legraphista/youtube-dl into legraphista-fix/google-drive-cookie-issue

This commit is contained in:
Tom-Oliver Heidel 2020-09-12 05:02:08 +02:00
commit 448f4b70c6

View File

@ -265,6 +265,8 @@ class GoogleDriveIE(InfoExtractor):
subtitles_id = ttsurl.encode('utf-8').decode(
'unicode_escape').split('=')[-1]
self._downloader.cookiejar.clear(domain='.google.com', path='/', name='NID')
return {
'id': video_id,
'title': title,