2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-09-26 11:04:55 +00:00
|
|
|
fetchPypi,
|
2024-07-27 06:49:29 +00:00
|
|
|
pythonOlder,
|
|
|
|
deprecated,
|
|
|
|
mss,
|
|
|
|
websockets,
|
|
|
|
setuptools,
|
|
|
|
}:
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
buildPythonPackage rec {
|
2024-07-27 06:49:29 +00:00
|
|
|
pname = "nodriver";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.37";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-FF/E0hNZvo26Urtgw+nBH5Rmk7UCaqAsckCLDMuCK0A=";
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|