Coder Social home page Coder Social logo

nwpu-auto-yqtb's Introduction

通知!

由于你瓜翱翔门户加了异常环境手机号验证,对于首次登录的IP需要进行验证,本项目暂时不可用,请谨慎使用.

目前仍可自行部署, 若云服务器运行请尝试将 main.py 中的config更改为原需求Value的json文档, linux服务器可尝试使用crontab, 安卓移动设备部署请尝试tasktomb

NPWY-AUTO-YQTB

使用 GitHub Acition 进行西北工业大学自动疫情填报

nwpu-auto-yqtb

使用方式

  • fork 本仓库

  • 依次点击 Github 仓库 Settings => Secrets(侧边栏) => Actions => New repository secret

  • 填写 Name: config

  • 填写 Value: 仓库中 config.json 的示例, 如果多个用户签到就填写多项列表,否则一项即可,不要重复填写同一个用户

单人:

[
  ["username","password"]
]

多人:

[
  ["usernamea","passworda"],
  ["usernameb","passwordb"],
  ["usernamec","passwordc"]
]
  • ❗重要❗ 最后点击 Actions => 选择工作流 自动疫情填报 => Enable workflow

  • 推荐先手动运行一遍工作流查看是否能正确执行

启用消息推送(选用,不需要推送功能可以跳过)

pushplus微信推送功能

pushplus(推送加) 通过公众号推送结果:

  • 登录pushplus官网后, 选择一对一推送页面, 按照网站的说明获取你的token.

  • 复制该token,依次点击 Github 仓库 Settings => Secrets(侧边栏) => Actions => New repository secret

  • 填写 Name: pushplus

  • 填写 Value: 刚刚复制的token

提示

更改 workflow yaml 中 cron 项即可填报更改时间

schedule:
   - cron: '0 0 * * *' # 此时间为 'UTF时间', +8h 后为 '北京时间'

由于定时任务由Github调度, 实际执行时间可能延迟1-2h不定 更多可见 github docs onschedule

声明

  • 打卡可能会失败, 建议开启消息推送.
  • 本项目仅提供参考, 因使用本项目导致的一切不良后果请使用者自行承担

nwpu-auto-yqtb's People

Contributors

2ndelement avatar yushunxiang avatar

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.