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
| System | Port | Version |
|---|---|---|
| FreeBSD | net/py-cloudflare-scrape-js2py | 2.0.3_1 |
| DragonFly | net/py-cloudflare-scrape-js2py | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.3_1 | 2.0.3_1 | 2.0.3 | 2.0.3_1 | 2.0.3_1 |
| FreeBSD:14:quarterly | 2.0.3_1 | 2.0.3_1 | n/a | 2.0.3_1 | 2.0.3_1 |
| FreeBSD:15:latest | 2.0.3_1 | 2.0.3_1 | n/a | 2.0.3_1 | 2.0.3_1 |
| FreeBSD:15:quarterly | 2.0.3_1 | 2.0.3_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.3_1 | 2.0.3_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
${PYTHON_PKGNAMEPREFIX}requests>2.4.0: www/py-requests${PYTHON_PKGNAMEPREFIX}Js2Py>=0: devel/py-Js2Py
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
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| VeNoMouS-cloudflare-scrape-js2py-v2.0.3_GH0.tar.gz | 9906 | f0c198a44145e3ed75f6756b5875ad754d9551a9a48abd89981be60c061018cf |
Commit history 0
No commits in the history this site was built from.