Port details |
- py-cloudflare-scrape-js2py Python module to bypass Cloudflare's anti-bot page using js2py
- 2.0.3 net
=0 Version of this port present on the latest quarterly branch. - Maintainer: tcberner@FreeBSD.org
 - Port Added: 2019-04-19 08:38:00
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: python
- License: MIT
- 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.
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}cloudflare-scrape-js2py>0:net/py-cloudflare-scrape-js2py@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- py39-cloudflare-scrape-1.*
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/net/py-cloudflare-scrape-js2py/ && make install clean
- To add the package, run one of these commands:
- pkg install net/py-cloudflare-scrape-js2py
- pkg install py39-cloudflare-scrape-js2py
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-cloudflare-scrape-js2py listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-cloudflare-scrape-js2py
- Package flavors (<flavor>: <package>)
- py39: py39-cloudflare-scrape-js2py
- distinfo:
- TIMESTAMP = 1555662065
SHA256 (VeNoMouS-cloudflare-scrape-js2py-v2.0.3_GH0.tar.gz) = f0c198a44145e3ed75f6756b5875ad754d9551a9a48abd89981be60c061018cf
SIZE (VeNoMouS-cloudflare-scrape-js2py-v2.0.3_GH0.tar.gz) = 9906
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-requests>2.4.0 : www/py-requests@py39
- py39-Js2Py>=0 : devel/py-Js2Py@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
- Configuration Options:
- No options to configure
- Options name:
- net_py-cloudflare-scrape-js2py
- USES:
- python:3.6+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2017-11-30
Affects: */py* Author: mat@FreeBSD.org Reason:
Ports using Python via USES=python are now flavored. All the py3-* ports
have been removed and folded into their py-* master ports.
People using Poudriere 3.2+ and binary packages do not have to do anything.
For other people, to build the Python 3.6 version of, for example,
databases/py-gdbm, you need to run:
# make FLAVOR=py36 install
|
Number of commits found: 6
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.0.3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.0.3 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.0.3 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.0.3 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
2.0.3 19 Apr 2019 08:37:44
  |
tcberner  |
New port: net/py-cloudflare-scrape-js2py
A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm
Under Attack Mode", or IUAM), implemented with Requests.
WWW: https://github.com/VeNoMouS/cloudflare-scrape-js2py |
Number of commits found: 6
|