Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom max_retries #44

Open
yidafu opened this issue Jun 3, 2020 · 1 comment
Open

Support custom max_retries #44

yidafu opened this issue Jun 3, 2020 · 1 comment

Comments

@yidafu
Copy link

yidafu commented Jun 3, 2020

I crawl a web site which network is very bad, I have to refresh 5 times or even more to get a normal response. I tried to configure retry_request_errors, but found that only retry 3 time.

def visit(visit_uri, delay: config.before_request[:delay], skip_request_options: false, max_retries: 3)

It would be great to improve on Supporting custom max_retries.

@imtiazwazir
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants