From f8d164fcd477a9df877d7c92706b263856088288 Mon Sep 17 00:00:00 2001 From: StudentYee <109954988+StudentYee@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:01:15 +0800 Subject: [PATCH 1/2] Change Domain --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 81a31d1..09f258b 100644 --- a/main.py +++ b/main.py @@ -8,12 +8,12 @@ # server酱 SCKEY = os.environ.get('SCKEY') -login_url = 'https://ikuuu.eu/auth/login' -check_url = 'https://ikuuu.eu/user/checkin' -info_url = 'https://ikuuu.eu/user/profile' +login_url = 'https://ikuuu.art/auth/login' +check_url = 'https://ikuuu.art/user/checkin' +info_url = 'https://ikuuu.art/user/profile' header = { - 'origin': 'https://ikuuu.eu', + 'origin': 'https://ikuuu.art', 'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36' } data = { From c6f09195f0d727878516957d0602c2a2f2e48a84 Mon Sep 17 00:00:00 2001 From: StudentYee <109954988+StudentYee@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:06:58 +0800 Subject: [PATCH 2/2] Polish push title --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 09f258b..3ba5b31 100644 --- a/main.py +++ b/main.py @@ -34,12 +34,12 @@ content = result['msg'] # 进行推送 if SCKEY != '': - push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuu签到&desp={}'.format(SCKEY, content) + push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuuu自动签到任务提示&desp={}'.format(SCKEY, content) requests.post(url=push_url) print('推送成功') except: content = '签到失败' print(content) if SCKEY != '': - push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuu签到&desp={}'.format(SCKEY, content) + push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuuu自动签到任务提示&desp={}'.format(SCKEY, content) requests.post(url=push_url)