MysticStars 在 Newapi自动签到脚本 中发帖
本脚本针对二开的有签到功能的newapi,应该是通用的,如果说有冒犯的地方我即刻删除()
代码如下
使用方法:将cookie等值替换为自己的(自己F12获取),xxx.example.com替换为newapi的域名
import requests
import time
from requests.exceptions import RequestException
SESSION_COOKIE = "XXXXXXXXXX"
P_UV_ID = "XXXXXXX"
NEW_API_USER = "114514"
def sign_in(max_retries=3, retry_delay=5):
url = "https://xxx.example.com/api/user/signing"
headers = {
"accept": "...