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

pull/8/head
Tom-Oliver Heidel 4 years ago
commit 448f4b70c6

@ -265,6 +265,8 @@ class GoogleDriveIE(InfoExtractor):
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(domain='.google.com', path='/', name='NID')
return { return {
'id': video_id, 'id': video_id,
'title': title, 'title': title,

Loading…
Cancel
Save