From 5aa444458d5d251a438ae6710bc420760b86aee4 Mon Sep 17 00:00:00 2001 From: bashonly Date: Sun, 5 May 2024 18:04:06 -0500 Subject: [PATCH] f-string it Authored by: bashonly --- yt_dlp/extractor/crunchyroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/crunchyroll.py b/yt_dlp/extractor/crunchyroll.py index 3085d4f46..6cf5bbaeb 100644 --- a/yt_dlp/extractor/crunchyroll.py +++ b/yt_dlp/extractor/crunchyroll.py @@ -61,7 +61,7 @@ class CrunchyrollBaseIE(InfoExtractor): if not isinstance(error.cause, HTTPError) or error.cause.status != 403: raise if target := error.cause.response.extensions.get('impersonate'): - raise ExtractorError(f'Got HTTP Error 403 when using impersonate target "{str(target)}"') + raise ExtractorError(f'Got HTTP Error 403 when using impersonate target "{target}"') raise ExtractorError( 'Request blocked by Cloudflare; navigate to Crunchyroll in your browser, ' 'then pass the fresh cookies (with --cookies-from-browser or --cookies) '