Markus Heiser
efc305b7f9
[mod] normalize variable name for the max number of results per request ( #6131 )
...
[mod] normalize variable name for the max number of results per request
In the past, we have used different names for the variable that specifies the
maximum number of hits in the outgoing request.
- ``page_size``
- ``number_of_results``
- ``nb_per_page``
Since *page_size* is the most accurate term and is also used in the XPath
engines, all other engines are adjusted accordingly within this
patch .. documentation adjusted accordingly.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2026-05-25 12:41:31 +02:00
Markus Heiser
81cbe0befe
[upd] pypi: Bump black from 24.3.0 to 25.9.0 ( #5251 )
...
In 25.1.0 [2] an old bug has been fixed: "Docstring formatting does not apply to
module docstrings" [3].
[1] https://github.com/psf/black/blob/main/CHANGES.md#2590
[2] https://github.com/psf/black/blob/main/CHANGES.md#2510
[3] https://github.com/psf/black/issues/4094
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-09-26 12:35:57 +02:00
Markus Heiser
649a8dd577
[fix] cleanup: rename searx leftovers to SearXNG ( #5049 )
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-07-26 06:22:46 +02:00
Bnyro
f31a3a2053
[chore] *: fix typos detected by typos-cli
2024-11-24 12:41:57 +01:00
Markus Heiser
c19bffde4d
[fix] issues reported by pylint-3.2.2
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2024-05-28 18:10:04 +02:00
Markus Heiser
8205f170ff
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2024-03-11 14:55:38 +01:00
Markus Heiser
3d96a9839a
[format.python] initial formatting of the python code
...
This patch was generated by black [1]::
make format.python
[1] https://github.com/psf/black
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-27 09:26:22 +01:00
Alexandre Flament
a4dcfa025c
[enh] engines: add about variable
...
move meta information from comment to the about variable
so the preferences, the documentation can show these information
2021-01-14 20:57:17 +01:00
Alexandre Flament
b00d108673
[mod] pylint: numerous minor code fixes
2020-12-01 15:21:19 +01:00
Dalf
c225db45c8
Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes
2020-09-10 10:49:42 +02:00
Dalf
1022228d95
Drop Python 2 (1/n): remove unicode string and url_utils
2020-09-10 10:39:04 +02:00
Adam Tauber
f82ead3e30
[fix] add py3 compatibility to base engine - closes #1319
2018-06-14 11:50:03 +02:00
Noémi Ványi
5954a8e16a
minor fix of BASE engine
2017-11-01 17:02:38 +01:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
Adam Tauber
16bdc0baf4
[mod] do not escape html content in engines
2016-12-09 18:59:19 +01:00
jibe-b
092e15cc1d
[enh] Add BASE engine in category Science. Basic and advanced search.
2016-03-29 16:17:17 +02:00