BSD Ports

net/py-cloudscraper 1.2.71_1 DragonFly

Python module to bypass Cloudflare's anti-bot page

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net, python
Package size
108.4 KiB, 1589.5 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, cloudscraper requires a JavaScript Engine/interpreter 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-cloudscraper1.2.71_1
FreeBSDnet/py-cloudscraper1.2.71_2

Install

Binary package:

pkg install py311-cloudscraper

From DPorts:

cd /usr/dports/net/py-cloudscraper && make install clean

Dependencies

Run dependencies 6

No port depends on this one.