Giter VIP home page Giter VIP logo

yiban's Introduction

易班校本化健康打卡

目录说明

│  .gitignore
│  README.md            
|  yiban_auto_submit.bat    win10打卡脚本
|  
└─yiban
    │  submit.py        自动打卡脚本
    │  testSuccess.py   查看未打卡的任务
    │  utils.py         工具包,完成表单数据的提取和填充
    │
    └─yiban
        │  config.py    存放账号信息
        │  __init__.py  存放基础类
        └─

安装

git clone https://github.com/WadeStack/yiban.git
cd yiban
pip install requests

✨ 使用说明

1.获取近几天的一次易班打卡登记表的转发审批表单的链接

1.登录易班app

2.点击易班校本化

3.点击每日健康打卡

4.点击右下角的已办

5.从已办列表选择最近一天的打卡登记表

6.点击我的反馈进入

7.点击最下面的转发审批表单,复制链接

2. 修改配置参数

  • 将config.py下的账号密码换成自己的

  • 将config.py下的url换成刚复制的链接

3.测试是否有未打卡的任务

python testSuccess.py

4.查看是否能提取数据

python untils.py

5.打卡

python submit.py

打卡截图:通过打卡成功后生成的分享链接访问浏览器,然后截图

服务器每天定时打卡

每天六点自动执行打卡,将结果保存到当前用户的home目录下的result.txt

00 06 * * * python3 yiban/submit.py >> ~/result.txt

版本log

2020-5-21 v0.2版本内容更新
  1. 表单更新,换用动态表单提交
  2. 删除冗余代码
2020-5-16 v0.1版本内容更新
  1. 优化打卡提示

  2. 生成打卡完成的分享链接

参考

Reference project

Reference link

联系方式

yiban's People

Contributors

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