depot/third_party/nixpkgs/pkgs/development/python-modules/cfscrape/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

30 lines
674 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
}:
buildPythonPackage rec {
pname = "cfscrape";
version = "2.1.1";
format = "setuptools";
src = fetchFromGitHub ({
owner = "Anorov";
repo = "cloudflare-scrape";
rev = "9692fe7ff3c17b76ddf0f4d50d3dba7d1791c9c6";
hash = "sha256-uO8lBZonjk+mlFYoNSaz+GIN/W9yf8VL9OQ7MKfsMgI=";
});
propagatedBuildInputs = [ requests ];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/Anorov/cloudflare-scrape";
description = "Python module to bypass Cloudflare's anti-bot page";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ ];
};
}