Code Monkey home page Code Monkey logo

nwu_dailyup's Introduction

该项目完成了西北大学晨午检基于程序的填报任务,可以依此程序来定时填报小程序(需要配合定时执行命令,比如crontab)

将程序调用添加到系统定时运行的功能,Linux中具体是crontab命令,Windows请自行探索,请将定时任务时间调整到6:30与12:30,以完成自动填报

注意:

该项目已经不再维护, 因为你可能对该项目的另外一个版本感兴趣

第三方库需求:

  1. bs4
  2. requests
  3. pycryptodome

项目构成:

  1. main.py: 程序主体
  2. aes_crypt.py: 用于用户登录过程中对密码的加密,保证登录的成功
  3. data.json: 保存要提交的个人信息,以及一些额外信息(注意,该文件中的地址仅适用于西北大学长安校区的用户,或通过修改该文件中的相应msg项来生效,其他人慎用)

使用方式:

  1. 安装依赖, pip install -r requirements.txt
  2. 如果是西北大学长安校区的用户,则不需要管data.json的msg项
  3. 将data.json中的user项添加上自己的学号与密码,注意要按照json文件格式
  4. 最后使用crontab命令实现每日定时调用。调用形式为 py main.py dir, 其中dir为该项目的所在位置。

nwu_dailyup's People

Contributors

san-qi avatar qianxliu avatar

Stargazers

 avatar 车小康 avatar

Watchers

 avatar

nwu_dailyup's Issues

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.