GithubHelp home page GithubHelp logo

rmanluo / srun_auto_login Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 16.78 MB

深澜校园网自动后台常驻保证在线,支持windows、linux、mac,妈妈再也不用担心电脑被挤掉线了。

License: MIT License

Python 100.00%

srun_auto_login's Introduction

Welcome to srun_auto_login 👋

License: MIT License

深澜校园网自动后台常驻保证在线,支持windows、linux、mac,妈妈再也不用担心电脑被挤掉线了。

Requirements

requests
selenium >= 3.141.0

Usage

在config.py文件中输入您的账户和密码,然后愉快的开始运行吧。

WIndows后台运行

pythonw auto_login.py

Mac and Linux后台运行

nohup python3 auto_login.py 2>&1 &

注册windows开机自启

  1. 将auto_login.py 改名成auto_login.pyw,并右键创建快捷方式
  2. 点击开始--所有程序--启动--右击--打开,将已快捷方式复制到该目录(C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)下,可能杀毒软件会阻止,选择允许,然后重启电脑即可。

Author

👤 Raymond Luo

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2019 Raymond Luo.
This project is MIT License licensed.


This README was generated with ❤️ by readme-md-generator

srun_auto_login's People

Contributors

rmanluo avatar

Stargazers

Lou Jimeng avatar 咖啡与茶 avatar  avatar Standingby avatar mjogo avatar TophTab avatar

Watchers

 avatar  avatar

srun_auto_login's Issues

好评~

Linux用户使用时应注意:

  1. chromedriver_linux64 需要修改权限 chmod 777 ./webdriver/chromedriver_linux64 ;
  2. 可能出现chromedriver依赖问题,运行时出现Service chromedriver unexpectedly exited. Status code was: 127;
    执行 ./webdriver/chromedriver_linux64 --version 根据提示安装依赖库;
  3. 本机需要安装Chrome, 否则报错 unknown error: cannot find Chrome binary ;
    Ubuntu Server 安装Chrome可参考:https://www.jianshu.com/p/3d02abeb6d15
    其他校园网使用深澜认证的同样可用,修改login_gateway

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.