Apify Discord Mirror

Updated 4 months ago

Router Class

At a glance

The community member recently implemented the routing concept from a blog post about Playwright web scraping in their project. However, they are encountering an issue where the application stalls when a request fails, instead of proceeding to the next request. The community member is seeking suggestions for implementing a failedRequestHandler to address this problem.

In the comments, another community member asks whether the application always stalls or only when using the custom failedRequestHandler. There is no explicitly marked answer to this question.

Useful resources
I recently read a blog post about Playwright web scraping (https://blog.apify.com/playwright-web-scraping/#bonus-routing) and implemented its routing concept in my project. However, I'm encountering an issue with handling failed requests. Currently, when a request fails, the application stalls instead of proceeding to the next request. Do you have any suggestions for implementing a failedRequestHandler to address this problem?
o
1 comment
Hey,

does the application always stall or only if you use your custom failedRequestHandler?
Add a reply
Sign up and join the conversation on Discord