2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pythonOlder,
|
|
|
|
deprecated,
|
|
|
|
mss,
|
|
|
|
websockets,
|
|
|
|
setuptools,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "nodriver";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.37";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ultrafunkamsterdam";
|
|
|
|
repo = "nodriver";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = "1bb6003c7f0db4d3ec05fdf3fc8c8e0804260103";
|
|
|
|
hash = "sha256-8q+9RX9ugrT6/fjlTSIecVcR6lPdZwg7nF+cSTSLlEc=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
deprecated
|
|
|
|
mss
|
|
|
|
websockets
|
|
|
|
];
|
|
|
|
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "nodriver" ];
|
|
|
|
# no tests in upstream
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/ultrafunkamsterdam/nodriver";
|
|
|
|
license = lib.licenses.agpl3Only;
|
|
|
|
description = "Web automation framework which can bypass bot detection";
|
|
|
|
longDescription = ''
|
|
|
|
Successor of Undetected-Chromedriver. Providing a blazing fast framework for web
|
|
|
|
automation, webscraping, bots and any other creative ideas which are normally
|
|
|
|
hindered by annoying anti bot systems like Captcha / CloudFlare / Imperva / hCaptcha
|
|
|
|
'';
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
liammurphy14
|
|
|
|
toasteruwu
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|