Skip to main content

What is Cloudflare verification and how to deal with it?

Updated over 6 months ago

In today's web environment, many websites use Cloudflare to protect against malicious activity, presenting challenges for data scraping. In this tutorial, we'll explain what Cloudflare verification is and walk you through two proven solutions to bypass it.


What is Cloudflare verification?

Cloudflare verification is a security measure used by websites to distinguish between legitimate users and automated bots. It often involves CAPTCHA challenges, browser integrity checks, and rate limiting. These verifications help protect websites from threats like DDoS attacks, spam, and scraping, but they also pose significant obstacles for web scraping tools.


How to deal with it in Octoparse?

Solution 1: Automatic bypass with credit

Starting from version 8.7.2, Octoparse can solve the Cloudflare challenges automatically for you. When the website shows Cloudflare captcha, all you need to do is tick the Bypass Cloudflare with credit option and click on Confirm when the Cloudflare turnstile appears and wait for it to be bypassed automatically.

What is the cost for Cloudflare verification?

This feature costs $1.5 per 1,000 requests, so make sure you have enough add-on credits in your account before using it.

The deduction happens in two situations:

  • When you are building the task, you see Cloudflare and choose Bypass Cloudflare with credit. You will be charged once you click on Confirm to start the process.

  • If you start a task with Bypass Cloudflare with credit enabled, you will be charged when the Cloudflare shows up when Octoparse is executing Go to Web Page step.

Each attempt to resolve the captcha is considered as one request, whether it's successful or not. The success rate for solving these challenges is around 80%.

Note: If you need to disable the Cloudflare verification function during the scraping, please untick the Bypass Cloudflare with credit option in the Task Settings.


Solution 2: Manual bypass

You also have the option to bypass Cloudflare verification manually whenever you’re editing or running your tasks. For a detailed guide on how to do this, refer to this tutorial.

Did this answer your question?