Python module to bypass Cloudflare's anti-bot page
A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), implemented with Requests.
This can be useful if you wish to scrape or crawl a website protected with Cloudflare. Cloudflare's anti-bot page currently just checks if the client supports Javascript, though they may add additional techniques in the future.
Due to Cloudflare continually changing and hardening their protection page, cfscrape requires Node.js to solve Javascript challenges. This allows the script to easily impersonate a regular web browser without explicitly deobfuscating and parsing Cloudflare's Javascript.
Note: This only works when regular Cloudflare anti-bots is enabled (the "Checking your browser before accessing..." loading page). If there is a reCAPTCHA challenge, you're out of luck. Thankfully, the Javascript check page is much more common.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-cfscrape && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
cloudflare-scrape-2.1.1.tar.gz | 0000326422 319 KB | |
python-cfscrape.changes | 0000002970 2.9 KB | |
python-cfscrape.spec | 0000002805 2.74 KB |
Latest Revision
- Update to 2.1.1 * Updated to handle latest Cloudflare IUAM challenge
Comments 0