mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
[Backport release-22.05] cfscrape: init at 2.1.1 (#176583)
Co-authored-by: WeebSorceress <hello@weebsorceress.anonaddy.me>
This commit is contained in:
committed by
GitHub
parent
9acc2a130b
commit
34fb2fe9d2
@@ -13559,6 +13559,17 @@
|
||||
email = "kirill.wedens@gmail.com";
|
||||
name = "wedens";
|
||||
};
|
||||
WeebSorceress = {
|
||||
name = "WeebSorceress";
|
||||
email = "hello@weebsorceress.anonaddy.me";
|
||||
matrix = "@weebsorceress:matrix.org";
|
||||
github = "WeebSorceress";
|
||||
githubId = 106774777;
|
||||
keys = [{
|
||||
longkeyid = "rsa4096/0x7F57344317F0FA43";
|
||||
fingerprint = "659A 9BC3 F904 EC24 1461 2EFE 7F57 3443 17F0 FA43";
|
||||
}];
|
||||
};
|
||||
wegank = {
|
||||
name = "Weijia Wang";
|
||||
email = "contact@weijia.wang";
|
||||
|
||||
28
pkgs/development/python-modules/cfscrape/default.nix
Normal file
28
pkgs/development/python-modules/cfscrape/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cfscrape";
|
||||
version = "2.1.1";
|
||||
src = fetchFromGitHub ({
|
||||
owner = "Anorov";
|
||||
repo = "cloudflare-scrape";
|
||||
rev = "9692fe7ff3c17b76ddf0f4d50d3dba7d1791c9c6";
|
||||
sha256 = "sha256-uO8lBZonjk+mlFYoNSaz+GIN/W9yf8VL9OQ7MKfsMgI=";
|
||||
});
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Anorov/cloudflare-scrape";
|
||||
description = "A Python module to bypass Cloudflare's anti-bot page";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
};
|
||||
}
|
||||
@@ -1587,6 +1587,8 @@ in {
|
||||
|
||||
cfn-lint = callPackage ../development/python-modules/cfn-lint { };
|
||||
|
||||
cfscrape = callPackage ../development/python-modules/cfscrape { };
|
||||
|
||||
cftime = callPackage ../development/python-modules/cftime { };
|
||||
|
||||
cgen = callPackage ../development/python-modules/cgen { };
|
||||
|
||||
Reference in New Issue
Block a user