mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[GoogleDrive] fix redirect loop (closes #23919)
This commit is contained in:
parent
6a6e1a0cd8
commit
6747507236
|
@ -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 New Issue
Block a user