Skip to content

miiio/acfun-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acsign

acfun签到脚本

文本配置(使用task.json)

请在task.json中填写account的内容username(账号、邮箱、手机号码)及password(密码),若不需要使用该配置请将status修改为0后在 crontab添加

0 0 * * * php [YOUR_PATH]/run.php

其中YOUR_PATH为脚本所在目录(为了您的帐号安全,建议使用本方式时task.json文件不可被外界直接访问!!)

CLI

使用命令

php run.php [YOUR_USERNAME] [YOUR_PASSWORD]

其中[YOUR_USERNAME][YOUR_PASSWORD]参考第一条

亦可设置环境变量

ACSIGN_USERNAME: "USERNAME|EMAIL|PHONE_NUMBER"
ACSIGN_PASSWORD: "PASSWORD"

后直接执行

php run.php

*已集成GitHub Actions脚本,可点击 Use this template 按钮后在GitHub 私有仓库 使用(使用方法参考hostloc-auto-get-points

Webhook

将文件传入主机后,请求

http://example.com/run.php?username=[YOUR_USERNAME]&password=[YOUR_PASSWORD]

或者POST(参数一致,不再列出)

其中[YOUR_USERNAME][YOUR_PASSWORD]参考第一条

环境要求

php 7.x
php-curl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages