Add info about get_report.py
This commit is contained in:
parent
47349e68cd
commit
34f1bc062d
1 changed files with 5 additions and 1 deletions
|
@ -13,9 +13,13 @@ pipenv install
|
|||
## How to use:
|
||||
|
||||
1. Copy the env-sample file to .env
|
||||
2. Put in your username and password in there
|
||||
2. Put in your username and password
|
||||
3. Put in the path where you want the pictures stored, it will create a YYYY/MM/DD structure there
|
||||
4. Run `pipenv run ./get_report.py` to get the report, it stores it in a file report.json
|
||||
5. Run `pipenv run ./report_json_down.py` to download all the reports and pictures
|
||||
|
||||
## Why username and password?
|
||||
|
||||
In the old script you had to get the report manually from the browser.
|
||||
I added get_report.py which logs in with a headless chromium browser,
|
||||
gets the report for you so it's possible to automate it with cron.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue