mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-12 13:54:28 +00:00
fix: Reset visited_redirect_urls when starting new extraction
This commit is contained in:
parent
2024eecf82
commit
cc6b650067
@ -2340,6 +2340,7 @@ class GenericIE(InfoExtractor):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
self.visited_redirect_urls.clear()
|
||||||
if url.startswith('//'):
|
if url.startswith('//'):
|
||||||
return self.url_result(self.http_scheme() + url)
|
return self.url_result(self.http_scheme() + url)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user