Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
190
rated 0 times [  195] [ 5]  / answers: 1 / hits: 6098  / 3 Years ago, tue, april 20, 2021, 12:00:00

I am scraping a website where after submitting a form I get redirected to this -


Checking your browser before accessing <Website Name>.
This process is automatic. Your browser will redirect to your requested content shortly.

Please allow up to 5 seconds…

DDoS protection by Cloudflare
Ray ID: <Some ID>

Now, usually when I myself submit that form manually from the "real web browser" I get redirected to the main contents almost immediately after this browser checking stuff appears. But in puppeteer, it doesn't.


I have tried to use page.waitForNavigation() but I couldn't get it to work.
Is there any way to actually get past this checking process? Or puppeteer is just getting blocked?


Thanks in advance!


More From » browser

 Answers
1

You can use puppeteer-extra which enables you to add different plugins like StealthPlugin or AdblockerPlugin. Have a look at their documentation.


[#1456] Monday, April 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
austynp

Total Points: 505
Total Questions: 118
Total Answers: 106

Location: Tajikistan
Member since Sun, Aug 29, 2021
3 Years ago
austynp questions
Sun, Apr 11, 21, 00:00, 3 Years ago
Sat, Feb 6, 21, 00:00, 3 Years ago
Thu, Mar 19, 20, 00:00, 4 Years ago
;