Giter VIP home page Giter VIP logo

daka's Introduction

目录

打卡工作已于 2022年12月9 日停止,感谢陪伴

自动批量打卡项目(自定义位置)

须知、说明

key: 学号
password: 密码
... ...
sfzx: 是否在校 1 在校,0不在校
adcode: 行政区划代码

南校区范例

注意cityprovincedistrict 必须带"市、省、区"

{
    "2019114514": [{

        "password": "114514",
        "address": "陕西省咸阳市杨陵区李台街道G30连霍高速西北农林科技大学南校区",
        "area": "陕西省咸阳市杨陵区",
        "city": "咸阳市",
        "province": "陕西省",
        "district": "杨陵区",
        "sfzx": "1",
        "lng": "108.068236",
        "lat": "34.257315",
        "adcode": "610403" }]
}

如何运行

首先克隆项目

git clone https://github.com/yzyyz1387/daka.git

切换目录

cd daka

安装依赖

pip install -r requirements.txt

info.json中的信息进行配置 再执行daka.py

python daka.py

执行结果示例

2022-08-13 01:11:58,072-INFO: 本程序仅供学习使用,请遵守相关法律、规定,珍爱生命!对自己和他人负责!
2022-08-13 01:11:58,074-INFO: 开始执行
2022-08-13 01:11:58,398-ERROR: 114514-----账号或密码错误
2022-08-13 01:11:58,755-ERROR: 7355608-----账号或密码错误
2022-08-13 01:11:58,756-INFO: 执行完毕,打卡成功 0 人,失败 0 人,密码错误 2 人

日志

DEBUG级别的日志会输出在daka.log文件中 INFO级别的日志输出在控制台

ToDo

  • 异步实现
  • 日志

LICENSE

AGPL-3.0 license

注意事项

仅供学习交流,请遵守防疫规定,勿用于非法用途
以上

daka's People

Contributors

yzyyz1387 avatar

Stargazers

 avatar  avatar  avatar zyzh0 avatar 老爹古董店 小玉 avatar boyfeiyu avatar  avatar porridge.0805 avatar 王业强 avatar  avatar wudya 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.