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
1 changed files with 2 additions and 0 deletions

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,