improve msg

Authored by: bashonly
This commit is contained in:
bashonly 2024-05-05 18:09:49 -05:00
parent b5919f4f87
commit 3c2fa37e2f
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ class CrunchyrollBaseIE(InfoExtractor):
if target := error.cause.response.extensions.get('impersonate'):
raise ExtractorError(f'Got HTTP Error 403 when using impersonate target "{target}"')
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) '
'and your browser\'s User-Agent (with --user-agent)', expected=True)