2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cfscrape";
|
|
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub ({
|
|
|
|
owner = "Anorov";
|
|
|
|
repo = "cloudflare-scrape";
|
|
|
|
rev = "9692fe7ff3c17b76ddf0f4d50d3dba7d1791c9c6";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-uO8lBZonjk+mlFYoNSaz+GIN/W9yf8VL9OQ7MKfsMgI=";
|
2022-06-16 17:23:12 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
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;
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|