From e3ac598d1e3cdbd9c6949fbcf2703c095c8a75ab Mon Sep 17 00:00:00 2001 From: hect0x7 <93357912+hect0x7@users.noreply.github.com> Date: Thu, 11 Jul 2024 00:03:19 +0900 Subject: [PATCH] =?UTF-8?q?v2.5.15:=20=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=EF=BC=8C=E7=BD=91=E9=A1=B5=E7=AB=AF=E7=99=BB=E5=BD=95=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E7=9A=84=E7=8A=B6=E6=80=81=E7=A0=81=E7=94=B1301?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BA200=20(#254)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmcomic/__init__.py | 2 +- src/jmcomic/jm_client_impl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jmcomic/__init__.py b/src/jmcomic/__init__.py index 7121c1e0..418e6627 100644 --- a/src/jmcomic/__init__.py +++ b/src/jmcomic/__init__.py @@ -2,7 +2,7 @@ # 被依赖方 <--- 使用方 # config <--- entity <--- toolkit <--- client <--- option <--- downloader -__version__ = '2.5.14' +__version__ = '2.5.15' from .api import * from .jm_plugin import * diff --git a/src/jmcomic/jm_client_impl.py b/src/jmcomic/jm_client_impl.py index ac255df0..61a36d77 100644 --- a/src/jmcomic/jm_client_impl.py +++ b/src/jmcomic/jm_client_impl.py @@ -402,7 +402,7 @@ def login(self, allow_redirects=False, ) - if resp.status_code != 301: + if resp.status_code != 200: ExceptionTool.raises_resp(f'登录失败,状态码为{resp.status_code}', resp) orig_cookies = self.get_meta_data('cookies') or {}