BSD Ports

net/py-cloudflare-scrape-js2py 2.0.3_1 DragonFly

Python module to bypass Cloudflare's anti-bot page using js2py

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net, python
Package size
14.3 KiB, 57.2 KiB installed

Description

A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), implemented with Requests. Cloudflare changes their techniques periodically, so I will update this repo frequently.

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, cloudflare-scrape requires js2py to solve Javascript challenges. This allows the script to easily impersonate a regular web browser without explicitly deobfuscating and parsing Cloudflare's Javascript.

In the other systems

SystemPortVersion
DragonFlynet/py-cloudflare-scrape-js2py2.0.3_1
FreeBSDnet/py-cloudflare-scrape-js2py2.0.3_1
HardenedBSDnet/py-cloudflare-scrape-js2py2.0.3_1
GhostBSDnet/py-cloudflare-scrape-js2py2.0.3_1

Install

Binary package:

pkg install py311-cloudflare-scrape-js2py

From DPorts:

cd /usr/dports/net/py-cloudflare-scrape-js2py && make install clean

Dependencies

Run dependencies 3

No port depends on this one.