question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Overcome Cloudflare's blocking: Please turn JavaScript on and reload the page.

See original GitHub issue

Steps 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:closed
  • Created 3 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
mrceperkacommented, Mar 26, 2021
11reactions
suntongcommented, Apr 2, 2021

Thanks a lot @mrceperka for sharing that well-kept secret, really appreciate it!!! Horay!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found