[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43045] [PATCH 5/7] gnu: Add python-cloudscraper.
From: |
Leo Prikler |
Subject: |
[bug#43045] [PATCH 5/7] gnu: Add python-cloudscraper. |
Date: |
Tue, 25 Aug 2020 19:37:34 +0200 |
* gnu/packages/python-web.scm (python-cloudscraper): New variable.
---
gnu/packages/python-web.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f7a623ceba..52ea88c5c0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4666,3 +4666,39 @@ using a pure Python implementation.")
"This package provices a simple implementation of Encrypted Content
Encoding for HTTP.")
(license license:expat)))
+
+(define-public python-cloudscraper
+ (package
+ (name "python-cloudscraper")
+ (version "1.2.46")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cloudscraper" version))
+ (sha256
+ (base32
+ "1br4p648yassywsd7whz1c7s10rwdysnd7wdqfjq9bksqfxrac3r"))
+ (modules '((guix build utils)))
+ (snippet
+ '(with-directory-excursion "cloudscraper"
+ (for-each delete-file
+ '("captcha/2captcha.py"
+ "captcha/9kw.py"
+ "captcha/anticaptcha.py"
+ "captcha/deathbycaptcha.py"
+ "interpreters/js2py.py"
+ "interpreters/v8.py"))
+ #t))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-requests" ,python-requests)
+ ("python-requests-toolbelt" ,python-requests-toolbelt-0.9.1)
+ ("python-pyparsing" ,python-pyparsing-2.4.7)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/venomous/cloudscraper")
+ (synopsis "Cloudflare anti-bot bypass")
+ (description
+ "This module acts as a webbrowser solving Cloudflare's Javascript
+challenges.")
+ (license license:expat)))
--
2.28.0
- [bug#43045] [PATCH] Add komikku., Leo Prikler, 2020/08/25
- [bug#43045] [PATCH 1/7] gnu: Add python-pure-protobuf., Leo Prikler, 2020/08/25
- [bug#43045] [PATCH 2/7] gnu: Add python-pyparsing-2.4.7., Leo Prikler, 2020/08/25
- [bug#43045] [PATCH 3/7] gnu: Add python-dateparser., Leo Prikler, 2020/08/25
- [bug#43045] [PATCH 4/7] gnu: Add python-requests-toolbelt-0.9.1., Leo Prikler, 2020/08/25
- [bug#43045] [PATCH 5/7] gnu: Add python-cloudscraper.,
Leo Prikler <=
- [bug#43045] [PATCH 6/7] gnu: libhandy: Update to 0.90.0., Leo Prikler, 2020/08/25
- [bug#43045] [PATCH 7/7] gnu: Add komikku., Leo Prikler, 2020/08/25
- bug#43045: [PATCH] Add komikku., Mathieu Othacehe, 2020/08/27