Skip to content

Support custom max_retries #44

@yidafu

Description

@yidafu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions