Router Class

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?
Apify Blog
How to scrape the web with Playwright in 2024
Complete Playwright web scraping and crawling tutorial.
2 Replies
Hall
Hall8mo ago
View post on community site
This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.
Apify Community
wise-white
wise-white7mo ago
Hey, does the application always stall or only if you use your custom failedRequestHandler?

Did you find this page helpful?