mirror of
https://github.com/hect0x7/JMComic-Crawler-Python.git
synced 2025-09-26 22:31:30 +08:00
v2.5.15: 接口更新,网页端登录成功的状态码由301更新为200 (#254)
This commit is contained in:
parent
99acab28d1
commit
e3ac598d1e
@ -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 *
|
||||
|
@ -402,7 +402,7 @@ class JmHtmlClient(AbstractJmClient):
|
||||
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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user