https://github.com/roerohan/login-to-vit-wifi
Run this python script to login to VIT wifi automatically when connected.
https://github.com/roerohan/login-to-vit-wifi
Last synced: 4 months ago
JSON representation
Run this python script to login to VIT wifi automatically when connected.
- Host: GitHub
- URL: https://github.com/roerohan/login-to-vit-wifi
- Owner: roerohan
- Created: 2019-03-05T10:29:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-02T08:27:05.000Z (over 6 years ago)
- Last Synced: 2025-03-27T07:48:31.999Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VIT Wifi Login
Run this python script to login to VIT wifi automatically when connected.
- `vit_wifi_login.py` - uses requests (no browser)
- `selenium_vit_wifi_login.py` - uses selenium (with browser)
Change the .get("//link") and element names to reuse the script to login to other places.
To run, you need:
1. Python3
2. pip3
To get selenium:
```
pip install selenium
```
Get chromedriver here:
http://chromedriver.chromium.org/
Add this chromedriver to path.
To run the file, open a terminal in this directory: "path/to/directory/Login-to-Wifi" and run python login_to_wifi.py