at master 670 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6}: 7 8buildPythonPackage { 9 pname = "cfscrape"; 10 version = "2.1.1"; 11 format = "setuptools"; 12 src = fetchFromGitHub ({ 13 owner = "Anorov"; 14 repo = "cloudflare-scrape"; 15 rev = "9692fe7ff3c17b76ddf0f4d50d3dba7d1791c9c6"; 16 hash = "sha256-uO8lBZonjk+mlFYoNSaz+GIN/W9yf8VL9OQ7MKfsMgI="; 17 }); 18 19 propagatedBuildInputs = [ requests ]; 20 21 doCheck = false; 22 23 meta = with lib; { 24 homepage = "https://github.com/Anorov/cloudflare-scrape"; 25 description = "Python module to bypass Cloudflare's anti-bot page"; 26 license = licenses.mit; 27 platforms = platforms.linux; 28 maintainers = [ ]; 29 }; 30}