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:
parent
0ada2d4858
commit
8413179b5f
4 changed files with 385 additions and 377 deletions
3
Pipfile
3
Pipfile
|
|
@ -9,9 +9,10 @@ piexif = "*"
|
|||
requests = "*"
|
||||
python-dotenv = "*"
|
||||
selenium = "*"
|
||||
setuptools = "*"
|
||||
blinker = "<1.5"
|
||||
selenium-wire = "*"
|
||||
packaging = "*"
|
||||
setuptools = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue