mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# Jielong
|
||||
|
||||
Run: `sh start.sh` and get usage(Linux only).
|
||||
|
||||
## Environment
|
||||
|
||||
Use `python3 -m venv venv` to create a virtual environment.
|
||||
|
||||
Then activate the venv, use `pip install -r .\requirements.txt` to install dependencies.
|
||||
|
||||
Note that you have to ensure the CHROME_BINARY_PATH and CHROMEDRIVER_PATH in `shared_config.py` correctly.
|
||||
|
||||
Also, if you want the email notification(to notify the expiration of token) works, you need to check `config.ini`.
|
||||
|
||||
## Details
|
||||
|
||||
Please edit the config and payload by yourself to meet your actual need.
|
||||
|
||||
### JieLong Payload
|
||||
|
||||
Jielong Payload: `payload` in the `try-catch` block of `perform_check_in()` function in `check_in_worker.py`
|
||||
|
||||
You may use [Reqable](https://reqable.com/) or other tools to get the payload of JieLong. (Tips: Catch the request of "EditRecord" and you will find what you want.)
|
||||
|
||||
### Config
|
||||
|
||||
APScheduler config: `app.py`
|
||||
|
||||
Other config: `shared_config.py`
|
||||
|
||||
JieLong Token data: `config.csv`
|
||||
|
||||
Email notification config: `config.ini`
|
||||
Reference in New Issue
Block a user