SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[upd] pypi: Bump pylint from 3.2.7 to 3.3.1
dependabot[bot]2986681b31a6
diff --git a/.pylintrc b/.pylintrcindex a79ab5801..058b9d7d1 100644--- a/.pylintrc+++ b/.pylintrc@@ -338,6 +338,7 @@ valid-metaclass-classmethod-first-arg=mcs# Maximum number of arguments for function / methodmax-args=8+max-positional-arguments=14# Maximum number of attributes for a class (see R0902).max-attributes=20diff --git a/requirements-dev.txt b/requirements-dev.txtindex 7d119a804..607d34760 100644--- a/requirements-dev.txt+++ b/requirements-dev.txt@@ -2,7 +2,7 @@ mock==5.1.0nose2[coverage_plugin]==0.15.1cov-core==1.15.0black==24.3.0-pylint==3.2.7+pylint==3.3.1splinter==0.21.0selenium==4.25.0Pallets-Sphinx-Themes==2.1.3diff --git a/searx/engines/hackernews.py b/searx/engines/hackernews.pyindex a9e29bf0a..d3ba47f65 100644--- a/searx/engines/hackernews.py+++ b/searx/engines/hackernews.py@@ -57,7 +57,11 @@ def request(query, params):if params['time_range']:search_type = 'search_by_date'- timestamp = (datetime.now() - relativedelta(**{f"{params['time_range']}s": 1})).timestamp()+ timestamp = (+ # pylint: disable=unexpected-keyword-arg+ datetime.now()+ - relativedelta(**{f"{params['time_range']}s": 1}) # type: ignore+ ).timestamp()query_params["numericFilters"] = f"created_at_i>{timestamp}"params["url"] = f"{base_url}/{search_type}?{urlencode(query_params)}"