Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djccnt15/wizcore_parking_newv
code for automating parking discount of Wizcore at NEWV
https://github.com/djccnt15/wizcore_parking_newv
python selenium
Last synced: 25 days ago
JSON representation
code for automating parking discount of Wizcore at NEWV
- Host: GitHub
- URL: https://github.com/djccnt15/wizcore_parking_newv
- Owner: djccnt15
- Created: 2021-03-25T08:46:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-16T09:26:40.000Z (about 1 year ago)
- Last Synced: 2023-12-17T10:47:05.928Z (about 1 year ago)
- Topics: python, selenium
- Language: Python
- Homepage:
- Size: 11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wizcore_parking_newv
code for automated parking discount of Wizcore at NEWV
## Guide
1. get chrome
1. run code with scheduler such as crontab## System Arguments
- `--headless`
- int, default value is 1
- whether to hide window of browser or not
- `--log_level`
- int, default value is 20
- set log level for python
- you can choice between [0, 10, 20, 30, 40, 50], check the [Python official manual for Logging Level](https://docs.python.org/3/library/logging.html#logging-levels)
- `--info_path`
- path to JSON file for system usage information, not recommend to input or change```json
{
"auth": {
"id": "asdf",
"pw": "asdf"
},
"url": "http://220.75.173.245/",
"car_num": "123하1234"
}
```## How to install Chrome for linux
preparation
- apt update
```
sudo apt-get update
```- apt update install
```
sudo apt-get install -y curl unzip xvfb libxi6 libgconf-2-4
```get chrome
- download chrome
```
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
```- install chrome
```
sudo apt install ./google-chrome-stable_current_amd64.deb
```- check Chrome version
```
google-chrome --version
```