diff --git a/main.py b/main.py index 81a31d1..3ba5b31 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 = { @@ -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)