mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
捡到修复学校签到,不要报太大希望
This commit is contained in:
@@ -1076,7 +1076,7 @@ class PtSpider:
|
||||
return CommonResponse.error(
|
||||
status=StatusCodeEnum.FAILED_SIGN_IN
|
||||
)
|
||||
if '47.242.110.63' in site.url:
|
||||
if 'btschool' in site.url:
|
||||
logger.info(res.status_code)
|
||||
logger.info(res.content.decode('utf-8'))
|
||||
text = self.parse(res, '//a[@href="index.php"]/font/text()')
|
||||
|
||||
Reference in New Issue
Block a user