GithubHelp home page GithubHelp logo

jnu-auto-secondclassroom's Introduction

大二了,终于没有晚自修了,有更多的时间可以去报名参加(划水)二课。

但是很多时候二课活动刚招募一会儿,名额就报满了,二课系统也没有自动提醒机制,只能每天时不时刷一下,运气好才能碰上空着的二课。

还有一些人,有活动就占坑(估计也有脚本自动报名的),之后发现时间冲突才取消,这样就有空出来的名额了。

正好刚开始学Python爬虫,想着能不能用爬虫的机制实时监控二课更新信息,有新活动招募,或者活动有空出来的名额时,就自动发邮件提醒。

  • 2021.11.4

    添加时间冲突检测与自动报名功能(is_conflict.py)

    修改邮件发送时间点,一次查询只发送一封邮件(main.py)

    查询间隔改为一分钟

    每次看到邮件,都得查日历,看活动日期是星期几,再判断活动时间是否与本人的课程冲突,然后再决定是否报名,这一系列流程下来得花不少时间,改了一下,提高自动化

  • 2021.11.3

    实现所有基础功能(main.py)

    终于完成所有基本功能了

    现在的问题是这个脚本必须在电脑上开着Python运行,后期有时间找找怎么让脚本在手机上一直运行

    目前效果: 效果图

  • 2021.11.2

    • 实现活动监控核心功能(main.py)
    • 封装了邮件发送函数(send_email.py)

    写了两节操作系统课,只剩下一点字符串处理了,明天Python课上再写

    最近事太多了,真烦人……

  • 2021.11.1

    实现邮件发送功能(send_email.py)

    一开始邮箱填错了,debug了一个多小时……

jnu-auto-secondclassroom's People

Contributors

silence-1874 avatar mujuan12 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.