From f9244f8e730c2064faf3276305eb2fd263def1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=A3=E7=B6=BA=E5=87=9B?= Date: Fri, 1 Sep 2023 23:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=8F=AF=E8=83=BD=E5=B8=A6=E5=B0=BE=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=20cookie=20=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SenKongDao.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SenKongDao.py b/SenKongDao.py index 88bbc3d..6b6d61d 100644 --- a/SenKongDao.py +++ b/SenKongDao.py @@ -23,8 +23,9 @@ for cookie_line in cookie_lines: # 准备签到信息 - uid = cookie_line.split("&")[0] - signing_cookie = cookie_line.split("&")[1] + configs = cookie_line.split("&") + uid = configs[0].strip() + signing_cookie = configs[1].strip() headers = { "user-agent": "Skland/1.0.1 (com.hypergryph.skland; build:100001014; Android 25; ) Okhttp/4.11.0", "cred": signing_cookie