UAL-RE / ReBACH

Python-based tool to enable data preservation to a cloud-hosted storage solution
MIT License
2 stars 2 forks source link

Fix: add retries to file downloading (Issue #81) #83

Closed zoidy closed 10 months ago

zoidy commented 10 months ago

Description Adds retries to certain uses of requests.get (notably, when downloading the data files of figshare records).

Fixes #81

Testing (if applicable) Ran the code and under normal circumstances, it works as before. Code was observed to retry on error conditions. The number of retries is set to 3. If the number of retries is exceeded, the code will abort as before.