Skip to content

How to override the retries limit? #523

Answered by vdusek
EngineerKhan asked this question in Q&A
Discussion options

You must be logged in to vote

The _utils.wait.wait_for function is an internal utility. It is not intended for direct usage & configuration by users. Could you share your use case or what you're trying to achieve with it?

In case you want to limit the max request retries of your crawler, you can use the max_request_retries option:

crawler = PlaywrightCrawler(max_request_retries=5)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@EngineerKhan
Comment options

@vdusek
Comment options

Answer selected by vdusek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants