aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/crunchyroll.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-03-05 00:59:20 +0800
committerJesús <heckyel@hyperbola.info>2022-03-05 00:59:20 +0800
commitf4f05a6915b8683655b073654d58f70a92f96330 (patch)
treef0fb8acb7acb580030f1b0b758ad03531d6cbb39 /yt_dlp/extractor/crunchyroll.py
parent2064247b6faafff3ee304ea6ec58495b8d9ee023 (diff)
parent72e995f1226a2fce3cd7f5fda50ebe024fe2a57e (diff)
downloadhypervideo-pre-f4f05a6915b8683655b073654d58f70a92f96330.tar.lz
hypervideo-pre-f4f05a6915b8683655b073654d58f70a92f96330.tar.xz
hypervideo-pre-f4f05a6915b8683655b073654d58f70a92f96330.zip
updated from upstream | 05/03/2022 at 00:59
Diffstat (limited to 'yt_dlp/extractor/crunchyroll.py')
-rw-r--r--yt_dlp/extractor/crunchyroll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/crunchyroll.py b/yt_dlp/extractor/crunchyroll.py
index ffe291098..b6ba5ef56 100644
--- a/yt_dlp/extractor/crunchyroll.py
+++ b/yt_dlp/extractor/crunchyroll.py
@@ -85,7 +85,7 @@ class CrunchyrollBaseIE(InfoExtractor):
'session_id': session_id
}).encode('ascii'))
if login_response['code'] != 'ok':
- raise ExtractorError('Login failed. Bad username or password?', expected=True)
+ raise ExtractorError('Login failed. Server message: %s' % login_response['message'], expected=True)
if not self._get_cookies(self._LOGIN_URL).get('etp_rt'):
raise ExtractorError('Login succeeded but did not set etp_rt cookie')