improve msg

Authored by: bashonly
pull/9857/head
bashonly 4 weeks ago
parent b5919f4f87
commit 3c2fa37e2f
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

@ -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)

Loading…
Cancel
Save