From owner-svn-ports-all@freebsd.org Fri May 19 15:56:45 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C76E7D74F3C; Fri, 19 May 2017 15:56:45 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A959FA; Fri, 19 May 2017 15:56:45 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4JFuiqG093600; Fri, 19 May 2017 15:56:44 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4JFui7o093595; Fri, 19 May 2017 15:56:44 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201705191556.v4JFui7o093595@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Fri, 19 May 2017 15:56:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441247 - in head/net: . py-cloudflare-scrape X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2017 15:56:45 -0000 Author: tcberner Date: Fri May 19 15:56:44 2017 New Revision: 441247 URL: https://svnweb.freebsd.org/changeset/ports/441247 Log: New port: net/py-cloudflare-scrape A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), implemented with Requests. https://github.com/Anorov/cloudflare-scrape Approved by: rakuco (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D10813 Added: head/net/py-cloudflare-scrape/ head/net/py-cloudflare-scrape/Makefile (contents, props changed) head/net/py-cloudflare-scrape/distinfo (contents, props changed) head/net/py-cloudflare-scrape/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Fri May 19 15:55:35 2017 (r441246) +++ head/net/Makefile Fri May 19 15:56:44 2017 (r441247) @@ -969,6 +969,7 @@ SUBDIR += py-beanstalkc SUBDIR += py-cjdns SUBDIR += py-cloudfiles + SUBDIR += py-cloudflare-scrape SUBDIR += py-coherence SUBDIR += py-cymruwhois SUBDIR += py-dpkt Added: head/net/py-cloudflare-scrape/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-cloudflare-scrape/Makefile Fri May 19 15:56:44 2017 (r441247) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= cloudflare-scrape +PORTVERSION= 1.8.0 +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tcberner@FreeBSD.org +COMMENT= Python module to bypass Cloudflare's anti-bot page + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyExecJS>=0:devel/py-PyExecJS + +USES= python +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= Anorov + +.include Added: head/net/py-cloudflare-scrape/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-cloudflare-scrape/distinfo Fri May 19 15:56:44 2017 (r441247) @@ -0,0 +1,3 @@ +TIMESTAMP = 1495173015 +SHA256 (Anorov-cloudflare-scrape-1.8.0_GH0.tar.gz) = 59cc3b1a39a5965cf989bd459769c6ff76418cc133c32320bfd0880857d3e8d7 +SIZE (Anorov-cloudflare-scrape-1.8.0_GH0.tar.gz) = 7703 Added: head/net/py-cloudflare-scrape/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-cloudflare-scrape/pkg-descr Fri May 19 15:56:44 2017 (r441247) @@ -0,0 +1,9 @@ +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. + +WWW: https://github.com/Anorov/cloudflare-scrape