Overcome Cloudflare's blocking: Please turn JavaScript on and reload the page.
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 8.0.0
- Platform / OS version: Ubuntu 20.04 LTS
- URLs (if applicable):
- Node.js version: v10.21.0
What steps will reproduce the problem?
const response = await page.goto(`https://finviz.com/news.ashx`, {
waitUntil: 'networkidle0'
});
console.log(await page.content());
What is the expected result?
Get normal page
What happens instead?
Got,
Please turn JavaScript on and reload the page
Please enable Cookies and reload the page.
This process is automatic. Your browser will redirect to your requested content shortly.
Please allow up to 5 seconds…
DDoS protection by <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing/" target="_blank">Cloudflare</a>
The url has been working fine for ages, until it broke just a day or two before.
Any way to by-pass it? Thx
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Pop up in the browser - Security - Cloudflare Community
Please turn JavaScript on and reload the page. Please enable Cookies and reload the page. Why do I have to complete a CAPTCHA?...
Read more >How to bypass Cloudflare 503 Please turn JavaScript on and ...
Cloudflare prevents programmatically sent requests by responding status code 503 and saying "Please turn JavaScript on and reload the page.
Read more >Why Cloudflare Keeps Complaining That "Please Turn ...
This is a tutorial on how to bypass Cloudflare WAF with the origin server ... Overcome Cloudflare's blocking: Please turn JavaScript on and...
Read more >CloudFlare says to enable javascript | Firefox Support Forum
You can open the Web Console (Firefox/Tools > Web Developer). Check on the Network tab if content from a specific domain is blocked...
Read more >cfscrape - PyPI
Due to Cloudflare continually changing and hardening their protection page, cloudflare-scrape requires Node.js to solve JavaScript challenges. This allows the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

https://www.npmjs.com/package/puppeteer-extra-plugin-stealth might help… 🤞
Thanks a lot @mrceperka for sharing that well-kept secret, really appreciate it!!! Horay!