Python module to bypass Cloudflare's anti-bot page

Edit Package python-cfscrape

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.

Refresh
Refresh
Source Files
Filename Size Changed
cfscrape-1.9.5.tar.gz 0000008390 8.19 KB
python-cfscrape.changes 0000001225 1.2 KB
python-cfscrape.spec 0000002514 2.46 KB
Revision 3 (latest revision is 8)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 653971 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 3)
Remove superfluous devel dependency for noarch package
Comments 0
openSUSE Build Service is sponsored by