From 5cb9eea45b6a9fe1125732250da05fb85e188ce6 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 21 Nov 2022 16:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9A=87=E5=90=8E=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=EF=BC=8C=E4=BF=AE=E5=A4=8D=E7=AD=BE=E5=88=B0=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E4=BD=86=E6=98=AF=E6=8F=90=E7=A4=BA=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/UtilityTool.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pt_site/UtilityTool.py b/pt_site/UtilityTool.py index 86b7d38..81718a5 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -704,12 +704,6 @@ class PtSpider: method=site.sign_in_method, url=site.url + 'plugin_sign-in.php?cmd=signin', data=data) logger.info('皇后签到返回值:{} \n'.format(result.content.decode('utf-8'))) - href_sign_in = self.parse(res_check, '//a[@href="/plugin_sign-in.php?cmd=show-log"]') - if len(href_sign_in) < 1: - return CommonResponse.error( - status=StatusCodeEnum.FAILED_SIGN_IN, - data=result.json() - ) return CommonResponse.success( status=StatusCodeEnum.OK, data=result.json()