mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-10 10:50:49 +00:00
improve msg
Authored by: bashonly
This commit is contained in:
parent
b5919f4f87
commit
3c2fa37e2f
|
@ -63,7 +63,9 @@ class CrunchyrollBaseIE(InfoExtractor):
|
||||||
if target := error.cause.response.extensions.get('impersonate'):
|
if target := error.cause.response.extensions.get('impersonate'):
|
||||||
raise ExtractorError(f'Got HTTP Error 403 when using impersonate target "{target}"')
|
raise ExtractorError(f'Got HTTP Error 403 when using impersonate target "{target}"')
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
'Request blocked by Cloudflare; navigate to Crunchyroll in your browser, '
|
'Request blocked by Cloudflare. '
|
||||||
|
'Install the required impersonation dependency if possible, '
|
||||||
|
'or else navigate to Crunchyroll in your browser, '
|
||||||
'then pass the fresh cookies (with --cookies-from-browser or --cookies) '
|
'then pass the fresh cookies (with --cookies-from-browser or --cookies) '
|
||||||
'and your browser\'s User-Agent (with --user-agent)', expected=True)
|
'and your browser\'s User-Agent (with --user-agent)', expected=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user