mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
修复52与CHD签到成功旦提示失败的bug
This commit is contained in:
@@ -504,7 +504,7 @@ class PtSpider:
|
||||
data=data
|
||||
)
|
||||
logger.info(sign_res.text)
|
||||
sign_str = self.parse(sign_res, '//font[contains(text(),"签过到")]/text()')
|
||||
sign_str = self.parse(sign_res, '//font[contains(text(),"点魔力值(连续")]/text()')
|
||||
if len(sign_str) < 1:
|
||||
return CommonResponse.error(
|
||||
msg='签到失败!'
|
||||
|
||||
Reference in New Issue
Block a user