捡到修复学校签到,不要报太大希望

This commit is contained in:
ngfchl
2022-11-18 14:14:49 +08:00
parent 88facf7818
commit 635382e326

View File

@@ -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()')