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