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 {}