A Python module to bypass Cloudflare's anti-bot page by solving JavaScript challenges using Node.js.
Cloudflare-scrape is a Python module that bypasses Cloudflare's anti-bot protection page to enable web scraping and crawling of protected websites. It solves JavaScript challenges automatically using Node.js, allowing scripts to mimic legitimate browser traffic without manual intervention. The module handles Cloudflare's 'I'm Under Attack Mode' (IUAM) but does not bypass reCAPTCHA challenges.
Developers and researchers who need to scrape or crawl websites protected by Cloudflare's anti-bot measures, such as data miners, automation script writers, and security testers.
It provides a reliable, up-to-date solution that automatically adapts to Cloudflare's changing techniques, with a simple API that integrates seamlessly with the popular Requests library, reducing development overhead.
A Python module to bypass Cloudflare's anti-bot page.
Uses Node.js to interpret and solve Cloudflare's obfuscated JavaScript challenges automatically, mimicking a browser without manual deobfuscation, as stated in the README.
Provides a CloudflareScraper class that works identically to a Requests Session object, making integration seamless for developers familiar with Requests, with usage examples in the README.
Offers helper functions like get_tokens() and get_cookie_string() to retrieve Cloudflare cookies for external tools, simplifying integration with other applications, as demonstrated in the README.
Allows overriding the default 5-second delay required by Cloudflare, with the README providing guidance on when and how to adjust delays for better reliability.
Explicitly does not work with reCAPTCHA challenges, limiting its effectiveness on sites that use more advanced bot protection, as admitted in the README.
Requires Node.js version 10 or above to run, adding an external dependency that complicates setup and may not be feasible in all environments, as noted in the installation section.
Relies on frequent updates to keep up with Cloudflare's changing techniques, so it can break if not maintained, with the README warning about this and urging users to upgrade regularly.
Cloudflare Tunnel client
🔎 Find origin servers of websites behind CloudFlare by using Internet-wide scan data from Censys.
Th3Inspector 🕵️ Best Tool For Information Gathering 🔎
Manipulate DNS records on various DNS providers in a standardized way.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.