Commit graph

13 commits

Author SHA1 Message Date
8413179b5f Fix photo filename collisions, video downloads, and EXIF dates
Photos in the same report with identical timestamps were overwriting each
other due to missing image index in the filename. Videos failed to download
because attached_video is a dict with resolution URLs, not a plain URL.

Also read EXIF DateTimeOriginal before modifying the file and write the
report date as fallback when the image has no original timestamp. Embed
creation_time metadata in downloaded videos using ffmpeg.
2026-04-04 01:50:24 +00:00
0ada2d4858 Fix bugs and improve robustness of report fetching
- Fix missing 'import sys' in get_report.py that caused a NameError
  on the credential-check error path
- Fix indentation of the per-report print statement in
  report_json_down.py so it prints for every report, not just the
  last one per date
- Replace hardcoded X-ENROLLMENT header value with dynamic extraction
  from selenium-wire intercepted requests
- Replace fragile time.sleep() calls with WebDriverWait so the script
  waits for actual page/login readiness rather than fixed delays
- Remove album_json_down.py, a Windows-only legacy script inherited
  from upstream that was never used in this fork
2026-03-18 00:37:35 +00:00
d9a45bd317 Fix python version requirement 2026-01-20 08:22:57 +09:00
ef8672678a Add uptime-kuma example and fix python version 2026-01-20 07:58:40 +09:00
c6936f8f52 Explain to change the working directory in service file 2025-08-15 09:14:35 +09:00
09d1f9c3b7 Add GPL v3 license 2025-08-14 20:04:18 +09:00
3eed0a8621 Add backup to the name in the README 2025-08-14 20:01:37 +09:00
0cca19d948 Add systemd timer 2025-08-14 19:59:24 +09:00
054c389892 Extend waiting time after login
Sometimes it would not get the URL for the report within 2sec.
2025-08-14 19:58:30 +09:00
34f1bc062d Add info about get_report.py 2025-08-11 22:46:20 +09:00
47349e68cd Fix so it's possible to get multiple reports per day
Also translate comments to english
2025-08-11 22:41:08 +09:00
76676839f0 Add run.sh 2025-07-18 23:27:27 +09:00
2df64fc413 Initial commit 2025-07-11 14:10:03 +09:00