Closed guidesify closed 4 years ago
Was looking at the Firewall events. It says that the request was challenged because of my firewall rules: Country Unknown states, other entities or organizations
Any idea how I can get past that?
Error was due to Google Cloud Platform's IP addresses being located in the US regardless of where VM location. The workaround I used was to use a dedicated proxy server in my python script.
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
ornodejs --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:
pip install -U cfscrape
Python version number
Run
python --version
and paste the output below:cfscrape version number
Run
pip show cfscrape
and paste the output below: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://guidesify.com, https://opinion.guidesify.com This is my site with CloudFlare and using SSL setting: Full (strict) Encrypts end-to-end, but requires a trusted CA or Cloudflare Origin CA certificate on the server. Origin certificate was installed on my server.
All my other sites work and this is the only difference in settings.
URL of Pastebin/Gist with HTML source of protected page
[LINK GOES HERE]