From 3bd08acc8f2b5558c9c01d98d77eb60782f9112f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 22 Dec 2020 14:59:31 +0100 Subject: [PATCH] [pixiv] output debug message on failed login attempt (#1192) --- gallery_dl/extractor/pixiv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/pixiv.py b/gallery_dl/extractor/pixiv.py index 1601031c..8aee0583 100644 --- a/gallery_dl/extractor/pixiv.py +++ b/gallery_dl/extractor/pixiv.py @@ -554,6 +554,7 @@ class PixivAppAPI(): response = self.extractor.request( url, method="POST", headers=headers, data=data, fatal=False) if response.status_code >= 400: + self.log.debug(response.text) raise exception.AuthenticationError() data = response.json()["response"]