From 2e88256500356886110e75045d4ff058ab79e06b Mon Sep 17 00:00:00 2001 From: ngfchl Date: Tue, 3 Jan 2023 10:03:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A5=BD=E5=A4=9A=E6=B2=B9?= =?UTF-8?q?=E7=AD=BE=E5=88=B0=E8=BF=94=E5=9B=9E=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/UtilityTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt_site/UtilityTool.py b/pt_site/UtilityTool.py index 1fb224b..eaa88a5 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -534,7 +534,7 @@ class PtSpider: my_site=my_site, url=site.url + site.page_sign_in.lstrip('/'), method=site.sign_in_method - ).text.encode('utf8') + ).content.decode('utf8') if sign_res.isdigit(): return CommonResponse.success( msg='你还需要继续努力哦!此次签到,你获得了魔力奖励:{}'.format(sign_res)