Cadair / parfive

An asyncio based parallel file downloader for Python 3.8+

Home Page:https://parfive.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add automatic retry option

dreamflasher opened this issue · comments

It would be great if you could add a flag to configure the number of retries in case a download fails.

Hi 👋

Thanks for the issues, I am on family leave at the moment so I can't promise anything will get addressed quickly.

There is currently only explicit retry support by calling the Downloader.retry method, so you could cook up a wrapper which does this if there are errors on the results object.

Congratulations and I wish you all a lovely time together! I am glad to hear that you're only temporarily away from the project, and for the best reason :)

So are you in principle open for PRs?

Thanks!

So are you in principle open for PRs?

I am almost always in favour of PRs, as long as they don't add things which are complex to maintain (which I don't think this would) as I already struggle to find as much time for this project as I would like 😄

@Cadair Hope you are enjoying your family time! How long do you currently plan to be on family leave? :)

Hey, I am back at work at least part time, just been trying to catch up.

I put a comment on #127 is there anything else that needs my attention?! 😀

Welcome back! That's fantastic! Let me catch up :)