1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-01-18 23:03:05 +01:00

fix: Reset visited_redirect_urls when starting new extraction

This commit is contained in:
Adam Miller 2025-01-06 09:41:39 -08:00
parent 2024eecf82
commit cc6b650067

View file

@ -2340,6 +2340,7 @@ class GenericIE(InfoExtractor):
}
def _real_extract(self, url):
self.visited_redirect_urls.clear()
if url.startswith('//'):
return self.url_result(self.http_scheme() + url)