bellingcat / auto-archiver

Automatically archive links to videos, images, and social media content from Google Sheets (and more).
https://pypi.org/project/auto-archiver/
MIT License
552 stars 55 forks source link

refactor tmp folder logic due to concurrency issue #43

Closed msramalho closed 2 years ago

msramalho commented 2 years ago

If more than one auto-archivers were executed on the same folder with the same tmp_folder the 1st to finish would delete the folder and the other would not be able to upload any file, this PR removes that configuration completely and uses python's tempfile which is the advisable approach.