-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overcome Cloudflare's blocking: Please turn JavaScript on and reload the page. #7006
Comments
So many similar questions on SO that don't have an answer, however, I did find out an article https://dev.to/rubengmurray/using-cookies-puppeteer-nodejs-to-mirror-a-chrome-profile-on-macos-1l6m which seems quite promising... |
it works |
Nope, only works when |
The only change is from Seems to me that Cloudflare is able to detect when I'm using Even if I trigger Any idea anything else I can try, to make |
https://www.npmjs.com/package/puppeteer-extra-plugin-stealth might help... 🤞 |
This is not a problem with Puppeteer but rather with the web page. |
Thanks a lot @mrceperka for sharing that well-kept secret, really appreciate it!!! Horay! |
Hi @suntong Thanks |
read my last comment again, @mtatarau90. That's all I want to say on this. |
following |
thanks @suntong and @mrceperka :D |
|
this is happening to me as well |
Same here. Also experiencing this issue only in non-headless mode (even when using puppeteer extra + stealth plugin). |
setting user agent using |
With the new version of puppeteer tried this. This only happens when the puppeteer applies controller to the browser pages. The sites will work fine even in headless mode if you are using the default blank page the puppeteer creates without the controller. I tried it with the existing browser by connection wsendpoint. As i get the pages from the browser it applies all the default puppeteer values and controller to all the webpages . So we need to find out how cloudfare and other bot detection sites finds the controller from puppeteer. |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
What is the expected result?
Get normal page
What happens instead?
Got,
The url has been working fine for ages, until it broke just a day or two before.
Any way to by-pass it? Thx
The text was updated successfully, but these errors were encountered: