This repository was archived by the owner on Oct 6, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
starudream/kuro-task
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
以下参数暂时需要电脑登录库街区 手动获取,再通过下方Account 新增
accounts: -phone:"手机号码,作为唯一标识使用"dev_code:"设备识别码,LocalStorage 中的 dc"token:"授权令牌,LocalStorage 中的 auth_token"source:"来源,目前有 android 和 h5,可空默认 h5"version:"版本,LocalStorage 中的 av,可空默认 2.2.0"cron:spec:"签到奖励执行时间,默认 5 4 8 * * * 即每天 08:04:05"startup:"是否启动时执行一次,默认 false"
> kuro-task -hUsage: kuro-task [command]Available Commands: account Manage accounts config Manage config cron Run as cron job notify Manage notify service Manage service sign Run sign taskFlags: -c, --config string path to config file -h, --help help for kuro-task -v, --version version for kuro-taskUse "kuro-task [command] --help" for more information about a command.
下载项目中geetest.html 文件,本地打开进行验证后,复制极验结果,并使用login
命令。
# list accountskuro-task account list# add account from h5 website tokenkuro-task account add<account phone># add account by phone verification codekuro-task account login<account phone>
kuro-task sign game<account phone>
kuro-task cron
# register as system servicekuro-task service --user --config kuro-task.yaml installkuro-task service startkuro-task service status
mkdir kuro&& touch kuro/app.yamldocker run -it --rm -v$(pwd)/kuro:/kuro -e DEBUG=true starudream/kuro-task /kuro-task -c /kuro/app.yaml account add<account phone>docker run -it --rm -v$(pwd)/kuro:/kuro -e DEBUG=true starudream/kuro-task /kuro-task -c /kuro/app.yaml sign game<account phone>
version:"3"services:kuro:image:starudream/kuro-taskcontainer_name:kurorestart:alwayscommand:/kuro-task -c /kuro/app.yaml cronvolumes: -"./kuro/:/kuro"environment:DEBUG:"true"app.log.console.level:"info"app.log.file.enabled:"true"app.log.file.level:"debug"app.log.file.filename:"/kuro/app.log"app.cron.spec:"26 7 8 * * *"
About
kuro task 库街区 每日任务 鸣潮