Giter VIP home page Giter VIP logo

meiritianbao's Introduction

MEIRITIANBAO

实现西工大疫情填报自动化

原理

使用github action 实现自动化填报。
时间设为每日7.50,因为action机制会有十分钟到几小时延迟。介意可以使用第三方调用action webhook优化实现定时执行

执行成功后会推送提示消息到手机。
使用PushDeer实现(IOS端),

自动填报有两种方案,分别为模拟Web端登录和模拟APP端登录
APP端登录仅为本地手动,需要在setting.py添加device_id字段,
device_id可以通过抓取APP登录获得,不理解可以无视该模块

22年10月增加了mfa验证,需要保证登录ip为可信ip,即不可信需要增加手机验证步骤。已解决

安装依赖

pip install -r requirement.txt

使用

  1. Star仓库(可选),Follow作者(可选),fork该仓库

  2. 在仓库的Setting->Secrets->Actions->*New repository(不是Environment secrets切记)*添加环境变量,依次为NAME,PASSWORD,PUSHDEER
    该字段名字、顺序不可有误
    NAME 为学号
    PASSWORD 为账号密码
    PUSHDEER 为PushDeer软件的key
    PushDeer需要使用轻应用,不能使用APP版

  3. 如果需要本地调试,clone代码后在setting.py文件内输入字段对应的值

meiritianbao's People

Contributors

dadaewqq avatar

Stargazers

 avatar  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.