From 34f1bc062daaca74f21df25ddb4d73c45060665f Mon Sep 17 00:00:00 2001 From: Jeena Date: Mon, 11 Aug 2025 22:46:20 +0900 Subject: [PATCH] Add info about get_report.py --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9dd66e8..a967959 100644 --- a/README.md +++ b/README.md @@ -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.