什??得?每日?到脚本 更新日志 2022-12-08, ?到失?,??器端?到需要滑?????? 2023-01-11, 更改 User-Agent ? iPhone 后可 bypass 滑??? 2023-01-14, 登???失?, ?到失效 2023-02-18, 通?安卓端??登?,感? jzksnsjswkw/smzdm-app 的思路. ?版代??看 old 分支 2023-02-25, 新增 all_reward 和 extra_reward ??接口,本地支持多用??行 2023-02-27, 修?本地 docker-compose ?行??; 本地 docker-compose 支持多???行 2023-03-01, 支持??面板且支持多?? 2023-03-01, ?需要 ANDROID_COOKIE 和 SK ???量,自?生成 USER_AGENT 和 TOKEN , 引入?机休眠,?小被封?率 2023-03-02, 新增每日抽?,?考 hex-ci 的 思路 2023-04-06, 新增企?微信BOT-WEBHOOK通知推送方式,?需要 ANDROID_COOKIE 一??量, SK 改?可??量. 如果能?通??包?到,最好?上. 2023-04-23,更新抽?功能 1. ??功能 每日?到, ?外??,?机?? 多??行方式: GitHub Action, 本地?行,docker, ??面板 多?通知方式: pushplus , server? , 企?微信bot-webhook , telegram bot (支持自定?反代 Telegram Bot API . 搭建?程 ) 支持多??(需配置 config.toml ) 2. 配置 支持???取配置的方法,? ?境?量 或者 config.toml 中?取 2.1 ??境?量中?取配置 # Cookie ANDROID_COOKIE = "" SK = "" # 可?,如果?包?到最好?置 # Notification PUSH_PLUS_TOKEN = "" SC_KEY = "" WECOM_BOT_WEBHOOK = "" TG_BOT_TOKEN = "" TG_USER_ID = "" # 用于自定?反代的Telegram Bot API(按需?置) TG_BOT_API = "" # 用于docker?行的定??定(可?),未?定??机定??行 SCH_HOUR= SCH_MINUTE= 2.2 ? config.toml 中?取 ?考模板 app/config/config_example.toml [ user . A ] ANDROID_COOKIE = " " SK = " " # 可?,如果?包?到最好?置 [ user . B ] # Disable userB的?到. 不配置此??默??用?用? Disable = true ANDROID_COOKIE = " " SK = " " # 可?,如果?包?到最好?置 [ notify ] PUSH_PLUS_TOKEN = " " SC_KEY = " " WECOM_BOT_WEBHOOK = " " TG_BOT_TOKEN = " " TG_USER_ID = " " TG_BOT_API = " " 3. 使用 3.1 ??面板 ql repo https://github.com/Chasing66/smzdm_bot.git "smzdm_ql.py" 默?情?下??境?量?取配置,?支持?用?. 如果需要支持多用?,推?使用 config.toml , 配置?考 2.2 ? config.toml 中?取 . 配置完成后, 拷? config.toml 到??容器?的 /ql/data/repo/Chasing66_smzdm_bot/app/config docker cp config.toml <?的??容器名?>:/ql/data/repo/Chasing66_smzdm_bot/app/config 3.2 本地直接?行 克隆本?目到本地, 按照需求配置,配置?考 2.2 ? config.toml 中?取 python3 -m venv .venv source .venv/bin/activate cd app pip install -r requirements.txt python main.py 3.3 本地 docker-compose ?行 配置?考 2.2 ? config.toml 中?取 修改 docker-compose.yaml , ? app/config/config.toml mout 到容器? /smzdm_bot/config/config.toml version : " 3.9 " services : smzdm_bot : image : enwaiax/smzdm_bot container_name : smzdm_bot restart : on-failure logging : driver : " json-file " options : max-size : " 1m " max-file : " 1 " volumes : - ./app/config/config.toml:/smzdm_bot/config/config.toml 3.4 Git Action ?行 GitHub Action 禁止?于 Action ?源的?用,??可能使用其他方式 GitHub Action ?支持 env 配置方式, ?必自行更改??机?? Fork 此???目 >, ?迎 star ~ 修改 .github/workflows/checkin.yml 里的下面部分, 取消 schedule ?行的注?,自行?定?? # UTC??,??Beijing?? 9:30 schedule : - cron : " 30 1 * * * " 配置?考 2.1.1 ??境?量中?取配置 4. 其? 4.1 手机?包 ?包有一定??,?自行??! 如果?在解?不了,?我喝?可?可以?忙 ?包工具可使用 HttpCanary,?程?考 HttpCanary ?包 按照上述?程配置好 HttpCanary ?始?包,?打?什??得? APP ?? https://user-api.smzdm.com/checkin 的 post ?求??看 点?右上角分享,分享 cURL,?制保存?命令 ??制的 curl 命令??? python 格式, 方法 ?入??后的 Cookies 和 sk . Cookies 在 headers 里, sk 在 data 里, sk 是可?? 5. Stargazers over time