summaryrefslogtreecommitdiff
path: root/www/py-cfscrape
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-02-07 23:52:16 +0000
committerjoerg <joerg@pkgsrc.org>2017-02-07 23:52:16 +0000
commitd51410c23d0367b451a25b98ae8858971ac1bc9b (patch)
tree21672498a5c3f9b906760cb75b154b01386a9ae7 /www/py-cfscrape
parent9507e814480f707356ee394871f86c5b72512a7a (diff)
downloadpkgsrc-d51410c23d0367b451a25b98ae8858971ac1bc9b.tar.gz
Add py-cfscrape-1.6.8:
This Python module allows by-passing of Cloudfare's anti-bot page. It will dynamically evaluate the Javascript challenge as proof of web browserness. It cannot handle reCAPTCHA challenges.
Diffstat (limited to 'www/py-cfscrape')
-rw-r--r--www/py-cfscrape/DESCR3
-rw-r--r--www/py-cfscrape/Makefile17
-rw-r--r--www/py-cfscrape/PLIST9
-rw-r--r--www/py-cfscrape/distinfo6
4 files changed, 35 insertions, 0 deletions
diff --git a/www/py-cfscrape/DESCR b/www/py-cfscrape/DESCR
new file mode 100644
index 00000000000..59f97544a7f
--- /dev/null
+++ b/www/py-cfscrape/DESCR
@@ -0,0 +1,3 @@
+This Python module allows by-passing of Cloudfare's anti-bot page. It
+will dynamically evaluate the Javascript challenge as proof of web
+browserness. It cannot handle reCAPTCHA challenges.
diff --git a/www/py-cfscrape/Makefile b/www/py-cfscrape/Makefile
new file mode 100644
index 00000000000..a04d4eace5f
--- /dev/null
+++ b/www/py-cfscrape/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/02/07 23:52:16 joerg Exp $
+
+DISTNAME= cfscrape-1.6.8
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python www net
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/cfscrape/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pypi.python.org/pypi/cfscrape/
+COMMENT= Python module for dealing with Cloudfare protection
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-js2py-[0-9]*:../../lang/py-js2py
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-cfscrape/PLIST b/www/py-cfscrape/PLIST
new file mode 100644
index 00000000000..36c976036d7
--- /dev/null
+++ b/www/py-cfscrape/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/07 23:52:16 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cfscrape/__init__.py
+${PYSITELIB}/cfscrape/__init__.pyc
+${PYSITELIB}/cfscrape/__init__.pyo
diff --git a/www/py-cfscrape/distinfo b/www/py-cfscrape/distinfo
new file mode 100644
index 00000000000..c2656f0df84
--- /dev/null
+++ b/www/py-cfscrape/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/07 23:52:16 joerg Exp $
+
+SHA1 (cfscrape-1.6.8.tar.gz) = dd4d9d3754bfbb10e5ce92b7d14733d2f6436036
+RMD160 (cfscrape-1.6.8.tar.gz) = e74493116b2432b53a5862b27bd4a59af5359f3b
+SHA512 (cfscrape-1.6.8.tar.gz) = 9531403e941d3f7d3149012594ebadc0b6570d8419eb61bf2b53864fc467cc475f9601673fded545a195abf78d74ff1c9f715ac4504e391e82ba55589780832f
+Size (cfscrape-1.6.8.tar.gz) = 3202 bytes