Login to wifi portals commonly found at cafes.
Project description
cafelogin
A python command line tool for logging into cafe wifi portals.
Compatibility:
- Browser WebDriver
- Chrome
- Firefox (Geckodriver)
- Wifi Portal
- https://service.wi2.ne.jp
- Starbucks JP
- Wired Cafe JP
- Doutor JP
- https://service.wi2.ne.jp
Install
pip install cafelogin
Usage
cafelogin [-h] [-c CONFIG_FILE] [--version] [--browser {chrome,firefox}] [--chrome-driver-version CHROME_DRIVER_VERSION] [--firefox-driver-version FIREFOX_DRIVER_VERSION] [--watch] [--watch-interval WATCH_INTERVAL]
Examples:
# Check portal connection and login via any detected portal
cafelogin
# Watch the portal connection continuously for changes
cafelogin --watch
# Specify a web-driver version to use
cafelogin --driver-version "v0.28.0"
WebDriver cache
Run the command once with an internet connection to install the web-driver to the cache.
cafelogin
[WDM] - ====== WebDriver manager ======
[WDM] - There is no [linux64] geckodriver for browser in cache
[WDM] - Getting latest mozilla release info for v0.29.0
[WDM] - Trying to download new driver from https://github.com/mozilla/geckodriver/releases/download/v0.29.0/geckodriver-v0.29.0-linux64.tar.gz
[WDM] - Driver has been saved in cache [/home/me/.wdm/drivers/geckodriver/linux64/v0.29.0]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cafelogin-0.2.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for cafelogin-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd4400847dc06cd13bb3f9cd74f222ddb57a99fc374c23bc494d2893341bc35 |
|
MD5 | f3786deb82048662a5d08e3367d76bd4 |
|
BLAKE2b-256 | 297264c129b41284fe76596f4cc1f4115964637ed7cd1f44ed5bdb1ab1bb195d |