Skip to content

Commit

Permalink
Merge pull request #6 from StudentYee/main
Browse files Browse the repository at this point in the history
Change Domain
  • Loading branch information
bighammer-link authored Jul 30, 2023
2 parents c4888db + c6f0919 commit 0568bd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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)

0 comments on commit 0568bd7

Please sign in to comment.