Compare commits

...

3 Commits
main ... hulk

Author SHA1 Message Date
d765478ee4 更新 'Checkin.py' 2023-07-20 09:22:10 +00:00
eae52abd0c 更新 'check' 2023-07-20 09:20:58 +00:00
a00fa0bc66 更新 'README.md' 2023-07-20 09:20:17 +00:00
3 changed files with 5 additions and 5 deletions

View File

@ -8,11 +8,11 @@ def sign_in(headers, cookies):
'canCheckin': True,
'totalContinuousCheckIn': 2
},
'id': '1684'
'id': '2396'
}
}
url = 'https://invites.fun/api/users/1684'
url = 'https://invites.fun/api/users/2396'
response = requests.post(url, json=data, headers=headers, cookies=cookies)
@ -45,7 +45,7 @@ flarum_session, x_csrf_token = get_cookies_and_token()
# 设置 cookies 和 headers
cookies = {
'flarum_remember': 'JT5tSxOH0QzglSmU67Wq7ici6ecxhIc1U7pEOOOh',
'flarum_remember': 'ZPojFMvwsmz8fbboYNtIreQ1P8l4tXC8dLmxrJF5',
'flarum_session': flarum_session
}

View File

@ -1,4 +1,4 @@
# catch-the-fish
# checkin
https://invites.fun/ 签到脚本

2
check
View File

@ -1,3 +1,3 @@
echo $(date) >> /tmp/check.log
echo "签到成功" >> /tmp/check.log
python3 /home/qubot/Checkin/checkin_1.py
python3 /home/qubot/Checkin/Checkin.py