BSD Ports

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

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
net, python
Package size
15.7 KiB, 54.7 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
FreeBSDnet/py-cloudflare-scrape-js2py2.0.3_1
DragonFlynet/py-cloudflare-scrape-js2py2.0.3_1

Install

Binary package:

pkg install py312-cloudflare-scrape-js2py

From the ports tree:

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

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

RUN_DEPENDS=	py312-cloudflare-scrape-js2py>0:net/py-cloudflare-scrape-js2py

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:latest2.0.3_12.0.3_12.0.32.0.3_12.0.3_1
FreeBSD:14:quarterly2.0.3_12.0.3_1n/a2.0.3_12.0.3_1
FreeBSD:15:latest2.0.3_12.0.3_1n/a2.0.3_12.0.3_1
FreeBSD:15:quarterly2.0.3_12.0.3_1n/an/an/a
FreeBSD:16:latest2.0.3_12.0.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

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

Build dependencies 11
Run dependencies 17

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-cloudflare-scrape-js2py 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
VeNoMouS-cloudflare-scrape-js2py-v2.0.3_GH0.tar.gz9906f0c198a44145e3ed75f6756b5875ad754d9551a9a48abd89981be60c061018cf

Commit history 0

No commits in the history this site was built from.