mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[GoogleDrive] fix redirect loop (closes #23919)
This commit is contained in:
parent
6a6e1a0cd8
commit
6747507236
1 changed files with 2 additions and 0 deletions
|
@ -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('.google.com')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': title,
|
'title': title,
|
||||||
|
|
Loading…
Reference in a new issue