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
| System | Port | Version |
|---|---|---|
| FreeBSD | net/py-cloudscraper | 1.2.71_2 |
| DragonFly | net/py-cloudscraper | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.71_2 | 1.2.71_2 | 1.2.68 | 1.2.71_1 | 1.2.71_2 |
| FreeBSD:14:quarterly | 1.2.71_2 | 1.2.71_2 | n/a | 1.2.71_1 | 1.2.71_2 |
| FreeBSD:15:latest | 1.2.71_2 | 1.2.71_2 | n/a | 1.2.71_1 | 1.2.71_1 |
| FreeBSD:15:quarterly | 1.2.71_2 | 1.2.71_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.71_2 | 1.2.71_2 | 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 5
${PYTHON_PKGNAMEPREFIX}pyopenssl>17.0: security/py-pyopenssl${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests${PYTHON_PKGNAMEPREFIX}Js2Py>0: devel/py-Js2Py${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0: www/py-requests-toolbelt${PYTHON_PKGNAMEPREFIX}brotli>0: archivers/py-brotli
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 25
- archivers/brotli
- archivers/py-brotli
- devel/gettext-runtime
- devel/libffi
- devel/py-Js2Py
- devel/py-cffi
- devel/py-pycparser
- devel/py-pyjsparser
- devel/py-six
- devel/py-typing-extensions
- devel/py-tzlocal
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- security/py-cryptography
- security/py-pyopenssl
- textproc/expat2
- textproc/py-charset-normalizer
- www/py-requests
- www/py-requests-toolbelt
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 |
|---|---|---|
| cloudscraper-1.2.71.tar.gz | 93261 | 429c6e8aa6916d5bad5c8a5eac50f3ea53c9ac22616f6cb21b18dcc71517d0d3 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.