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.

Cloudfare acces denied

See original GitHub issue

Before creating an issue, first upgrade cfscrape with pip install -U cfscrape and see if you’re still experiencing the problem. Please also confirm your Node version (node --version or nodejs --version) is version 10 or higher.

Make sure the website you’re having issues with is actually using anti-bot protection by Cloudflare and not a competitor like Imperva Incapsula or Sucuri. And if you’re using an anonymizing proxy, a VPN, or Tor, Cloudflare often flags those IPs and may block you or present you with a captcha as a result.

Please confirm the following statements and check the boxes before creating an issue:

  • I’ve upgraded cfscrape with pip install -U cfscrape
  • I’m using Node version 10 or higher
  • The site protection I’m having issues with is from Cloudflare
  • I’m not using Tor, a VPN, or an anonymizing proxy

Python version number

Run python --version and paste the output below:

C:\Users\ASUS\Downloads>python --version
Python 3.7.4

cfscrape version number

Run pip show cfscrape and paste the output below:

C:\Users\ASUS\Downloads>pip show cfscrape
Name: cfscrape
Version: 2.0.8
Summary: A simple Python module to bypass Cloudflare's anti-bot page. See https://github.com/Anorov/cloudflare-scrape for more information.
Home-page: https://github.com/Anorov/cloudflare-scrape
Author: Anorov
Author-email: anorov.vorona@gmail.com
License: UNKNOWN
Location: c:\python37\lib\site-packages
Requires: requests
Required-by:

Code snippet involved with the issue


Complete exception and traceback

(If the problem doesn’t involve an exception being raised, leave this blank)


URL of the Cloudflare-protected page

https://haapi.ankama.com/json/Ankama/v2/Account/CreateGuest?game=18&lang=en&captcha_token=

URL of Pastebin/Gist with HTML source of protected page

https://pastebin.com/iQ03BAGM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ghostcommented, Sep 27, 2019

Please confirm the following statements and check the boxes before creating an issue

The problem your experiencing isn’t a cfscrape bug, inability to follow simple instructions ☝️, and the cloudscraper project that you’re using was ripped off from me personally. So, there’s bad history there. I think you’d have better luck using something like freelancer.com or upwork.com.

Anyways, this isn’t the place for that. Btw, that plagiarizing fork has security vulnerabilities.

Good luck

0reactions
HiImNatsucommented, Sep 27, 2019

i’m just looking for a solution that’s all

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Cloudflare's Error 1020: Access Denied - MakeUseOf
The Cloudflare "Error 1020: Access Denied" message can occur when you try to access a URL on a Cloudflare-protected website.
Read more >
Community Tip - Access was denied Error code 1020
If you encounter the error 1020, you're violating a firewall rule the site owner has put in place, the error has nothing to...
Read more >
Fix Cloudflare Error 1020, Access denied instantly
Fix Cloudflare Error 1020, Access denied · Disable or Enable VPN · Restart router and PC · Clear browser cache · Check your...
Read more >
How to Fix Cloudflare Error 1020: Access Denied (Fast)
Cloudflare Error 1020: Access Denied indicates that you've violated a firewall rule and your connection request has been blocked.
Read more >
How to Fix Cloudflare's Error 1020: Access Denied
What Causes Cloudflare Error Code 1020? · Check Other Pages on the Website · Restart Your Browser · Switch to a Different Browser...
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