How to ignore certain error code? #1793
mbledkowski
started this conversation in
General
Replies: 1 comment 4 replies
-
Adding sessionPoolOptions: { blockedStatusCodes: [] }, to crawler options may solve your problem. const crawler = new PuppeteerCrawler({
sessionPoolOptions: { blockedStatusCodes: [403] },
// ...
}); |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to scrape cloudflare protected website.
I get 403 error everytime I make a connection, but after that I get connected in browser.
But the scraper is killing page right after it gets this error -
Reclaiming failed request back to the list or queue. Request blocked - received 403 status code.
.How can I add 403 status code to ignored ones?
Best regards.
Maciej Błędkowski
Beta Was this translation helpful? Give feedback.
All reactions