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.
This commit is contained in:
Jeena 2026-04-04 01:33:16 +00:00
parent 0ada2d4858
commit 8413179b5f
4 changed files with 385 additions and 377 deletions

View file

@ -9,9 +9,10 @@ piexif = "*"
requests = "*"
python-dotenv = "*"
selenium = "*"
setuptools = "*"
blinker = "<1.5"
selenium-wire = "*"
packaging = "*"
setuptools = "*"
[dev-packages]