Need help bypassing CF 403 Blocked
Hi guys, i'm new to this community and i'm trying to scrape allpeople.com which has Cloudflare protection. After reading the docs I came up with two solutions - puppeteer-stealth and playwright/firefox combinations. Both are getting 403 Blocked by CF (i will share code snippets inside the thread)
Am I doing something wrong? Or if not, what else can I try to bypass CF 403?
6 Replies
correct-apricotOP•3y ago
Puppeteer-stealth
Playwright/firefox
foreign-sapphire•3y ago
firstly you should find out if the problem is with the automated browser or with the proxies
deep-jade•3y ago
hey there! I briefly checked the site and it does go through CF. But it seems like CF started to send 403 code for their check page itself. This means the site is actually loaded, but the crawler thinks it's blocked :/ Adding
sessionPoolOptions: { blockedStatusCodes: [] },
to crawler options solves the problemcorrect-apricotOP•3y ago
Thanks, @Andrey Bykov
foreign-sapphire•3y ago
Hey, where de find your residentials proxies ?
deep-jade•3y ago
Sorry, what do you mean? Proxies are available in your Apify account.