Git Product home page Git Product logo

mycheckbox's Introduction

pt站签到,保活;阿里云盘签到;discuz论坛签到

仅供学习参考,请下载后24小时内删除,严禁用于一切侵权、侵害他人利益、违法违禁等不当行为;使用本软件造成的一切后果由用户自行承担,请悉知!

目前适配站点:

  • ptschool
  • 馒头 (mteam)
  • 老师 (nicept)
  • 其他与上述pt站链接后缀一致的(如老师的“/attendance.php”),改下host即可
  • 阿里云盘
  • discuz论坛
  • 请求为get类型的签到站点(不仅限于pt站点,目前仅通过响应头判断是否成功)
  • 请求为post类型,数据类型为application/x-www-form-urlencoded的站点(通过正则判断推送内容,无匹配项则推送签到失败)

目前适配通知:

  • 企业微信
  • telegram bot

使用说明:

release下载对应平台二进制文件,配置好config.toml放于同一目录即可,可以用crontab/qinglong等设置定时,或使用-t 的flag设置定时,已适配多账号(因同ip导致的风险自行承担)

(PS:go练手作品,代码太烂了就不放出来了)

青龙拉取命令

ql repo "https://github.com/Ecalose/MyCheckBox.git" "sh" "" "" "main" ""

config.sh内的RepoFileExtensions需加入sh,如:RepoFileExtensions="js pl py sh ts"

命令行参数

  • -t 后接cron表达式,如"59 23 * * *",精确到分,设置定时(不依赖系统的crontab)
    示例: ./mycheckbox -t "59 23 * * *" (英文引号不能忘)

配置说明

  • name 通知名称(必填)
  • url 将host一词替换为网址(必填)
  • cookie 站点cookie(必填)
  • proxy 代理链接(http/socks5)
  • 企业微信推送仅需填写corpid、corpsecret两项(如无需则可不填)
  • 其余详见config.toml内说明
  • refresh_token 阿里云盘,抓取教程可以参考该链接

适配计划

pt站目前手上就这三个号,所以也就适配了这三个站,其他的等有了药再说(

运行效果展示

image

Screenshot_2023-02-10-10-42-16-435_com tencent wework

image

mycheckbox's People

Contributors

ecalose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mycheckbox's Issues

学校签到失败,怎么解

ptschool签到失败,配置上需要注意什么吗,是需要配置代理?user-agent?
另,使用telegram通知代理如何配

学校 账号数为 1 个,开始签到:
ptschool : 签到失败

POST类data怎么获取

POST类data怎么获取。后期是否考虑加入自动识别图片验证码PT站么,比如空,opencd。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.