chore: formatting fix

This commit is contained in:
Adam Miller 2025-01-03 16:47:34 -08:00
parent c98271c780
commit 2024eecf82

View file

@ -2156,7 +2156,7 @@ def report_following_redirect(self, new_url):
self._downloader.to_screen(f'[redirect] Following redirect to {new_url}')
if new_url in self.visited_redirect_urls:
raise ExtractorError(
f"Redirect loop detected for URL: {new_url}",
f'Redirect loop detected for URL: {new_url}',
expected=True,
)
self.visited_redirect_urls.add(new_url)