[GoogleDrive] fix: don't nuke entire .google.com cookie jar

pull/8/head
Stefan-Gabriel Muscalu 5 years ago
parent 6747507236
commit d35cf6b7ba
No known key found for this signature in database
GPG Key ID: AC8255AF07542FCC

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

Loading…
Cancel
Save