mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-10 19:00:50 +00:00
f-string it
Authored by: bashonly
This commit is contained in:
parent
c2b2862751
commit
5aa444458d
|
@ -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) '
|
||||
|
|
Loading…
Reference in New Issue
Block a user