mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-01 21:56:50 +00:00
chore: formatting fix
This commit is contained in:
parent
c98271c780
commit
2024eecf82
|
@ -2156,7 +2156,7 @@ def report_following_redirect(self, new_url):
|
||||||
self._downloader.to_screen(f'[redirect] Following redirect to {new_url}')
|
self._downloader.to_screen(f'[redirect] Following redirect to {new_url}')
|
||||||
if new_url in self.visited_redirect_urls:
|
if new_url in self.visited_redirect_urls:
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
f"Redirect loop detected for URL: {new_url}",
|
f'Redirect loop detected for URL: {new_url}',
|
||||||
expected=True,
|
expected=True,
|
||||||
)
|
)
|
||||||
self.visited_redirect_urls.add(new_url)
|
self.visited_redirect_urls.add(new_url)
|
||||||
|
|
Loading…
Reference in a new issue