BSD Ports

net/py-cloudscraper 1.2.71_2 FreeBSD

Python module to bypass Cloudflare's anti-bot page

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
net, python
Package size
110.9 KiB, 1564.3 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
FreeBSDnet/py-cloudscraper1.2.71_2
DragonFlynet/py-cloudscraper1.2.71_1

Install

Binary package:

pkg install py312-cloudscraper

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-cloudscraper>0:net/py-cloudscraper

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.71_21.2.71_21.2.681.2.71_11.2.71_2
FreeBSD:14:quarterly1.2.71_21.2.71_2n/a1.2.71_11.2.71_2
FreeBSD:15:latest1.2.71_21.2.71_2n/a1.2.71_11.2.71_1
FreeBSD:15:quarterly1.2.71_21.2.71_2n/an/an/a
FreeBSD:16:latest1.2.71_21.2.71_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 5

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 25

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}cloudflare-scrape-1.*

Message after installing

===>   NOTICE:

The py312-cloudscraper port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
cloudscraper-1.2.71.tar.gz93261429c6e8aa6916d5bad5c8a5eac50f3ea53c9ac22616f6cb21b18dcc71517d0d3
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.