[GoogleDrive] fix redirect loop (closes #23919)

This commit is contained in:
Stefan-Gabriel Muscalu 2020-04-08 13:30:09 +03:00
parent 6a6e1a0cd8
commit 6747507236
No known key found for this signature in database
GPG Key ID: AC8255AF07542FCC

View File

@ -265,6 +265,8 @@ def add_source_format(src_url):
subtitles_id = ttsurl.encode('utf-8').decode(
'unicode_escape').split('=')[-1]
self._downloader.cookiejar.clear('.google.com')
return {
'id': video_id,
'title': title,