Commit graph

4 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
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
2df64fc413 Initial commit 2025-07-11 14:10:03 +09:00