Giter Site home page Giter Site logo

kk623 / seu-autoenter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yyzhou94/seu-autoenter

0.0 1.0 0.0 9.58 MB

东南大学每日报平安健康打卡及入校申请自动化程序

License: GNU General Public License v2.0

Python 98.88% VBScript 1.12%

seu-autoenter's Introduction

SEU AutoEnter

license Release Version

东南大学每日报平安健康打卡及入校申请自动化程序

登录程序主体来自 StephenHoo/AutoLogin

News

根据学校通知:

四牌楼校内住宿生、南京校区校外住宿学生完成每日打卡并符合入校条件者,次日测温刷卡入校,无需进行入校申请和审核。

所以这个项目暂时告别啦(鼓掌
当然自动打卡还可以继续使用,只要在 是否申请入校(enter)false即可。

Usage

Releases中发布了无需配置环境的程序包

Download

  • 每日报平安和申请入校整合在一个文件 AutoEnter.zip 中,可从最外层的README.md文件查看操作说明

AutoEnter

  1. 确认Chrome已升级到最新,否则应下载对应版本的 ChromeDriver 并替换
  2. config.json中填入一卡通号(username)、密码(password),是否申请入校(enter)填truefalse
  3. 每日申请入校所填资料中所到的地址(address)为必填项,手机号码(tel)为可选项,如果你平时就无需填写直接留空即可。
  4. 第一次使用双击AutoEnter.exe以便确认是否能成功打卡,网络正常情况下,约30秒出现打卡成功,约2分钟出现申请成功
  5. 双击AutoEnter.vbs可无窗口自动运行,从任务管理器可以看到AutoEnter.exe在后台运行, 如不关机下次打卡时间为hh>10?7:hhmm分.
  6. AutoEnter.vbs创建快捷方式并复制到开机启动项中, 那么开机自动打卡(不能使用Windows睡眠)
  7. 第一次成功打卡后产生日志文件log.txt

Requirements

自行编译运行需要以下环境

  • python3
  • selenium
  • chrome (Version 85.0.4183.83)
  • pyinstaller (用于导出exe)
conda create -n selenium
conda activate selenium
conda install -c conda-forge selenium

# 每日打卡
python login_chrome.py

# 申请入校
python enter_chrome.py

# 每日打卡并申请入校
python AutoEnter.py

FAQ

Q: 为什么需要这个程序?

A: 经常在中午12点超出一丢丢的时候意识到妹油申请入校 TAT 原先可以手动调本地时间避开申请时间限制,但是似乎在某此更新里学校修复了这个bug....

Q: 如果学校申请入校填写内容有更新怎么办?

A: 会无法成功打卡或申请入校,你可以自己编译这个 repo 的代码或者联系 [email protected] 修改。

Q: 程序如何确定申请入校的时间段?

A: 在四牌楼入校可申请的最大时间段为8:31 - 21:59,程序中固定使用了这一时间。根据学校规定,申请成功的时间段内才能刷卡进出学校、宿舍、图书馆等地。

seu-autoenter's People

Contributors

amomorning avatar

Watchers

 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.