Giter Club home page Giter Club logo

nju_networklogin's Introduction

NJU_NetworkLogin

登录和确保南大校园网一直在线的小工具,适合假期跑路的时候开启。

功能说明

两种模式:

  • 单次登录模式:登录一次,如果登录失败,将会以指定的时间间隔重复指定次数。
  • 保持在线模式:程序每隔一段时间检查是否在线,不在线就会尝试登录,连续尝试指定次数后如果还是不成功,就会等一段时间再尝试登录。

运行环境

  • Python 3

使用方法

  • 第一步:修改config.py中的账号密码字段,其他设置根据你自己的需要修改。

  • 第二步:使用下面命令运行程序。

    单次登录模式

    python main.py login

    保持在线模式

    python main.py keep_login

nju_networklogin's People

Contributors

btyu avatar

Stargazers

Wei Chen avatar WenssonS avatar Chenyang Wu avatar Guangyao Li avatar  avatar James Henry avatar  avatar

Watchers

 avatar

nju_networklogin's Issues

涛涛牛逼

不过我觉得第二个模式不如直接crontab加个定时任务 更省内存 >.<

good tool

Convient and Fast!
a little advice: with vpn on, it's not always stable

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.