summaryrefslogtreecommitdiff
path: root/searx/engines/mojeek.py
AgeCommit message (Collapse)Author
2025-12-03[fix] mojeek: first search page is rate-limitedBnyro
Mojeek blocks all requests where the page offset parameter `s` is set to 0, hence we may not set it for fetching the first results page.
2025-09-03[mod] addition of various type hints / tbcMarkus Heiser
- pyright configuration [1]_ - stub files: types-lxml [2]_ - addition of various type hints - enable use of new type system features on older Python versions [3]_ - ``.tool-versions`` - set python to lowest version we support (3.10.18) [4]_: Older versions typically lack some typing features found in newer Python versions. Therefore, for local type checking (before commit), it is necessary to use the older Python interpreter. .. [1] https://docs.basedpyright.com/v1.20.0/configuration/config-files/ .. [2] https://pypi.org/project/types-lxml/ .. [3] https://typing-extensions.readthedocs.io/en/latest/# .. [4] https://mise.jdx.dev/configuration.html#tool-versions Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Format: reST
2025-02-20[fix] mojeek web engine: don't add empty fmt argument for web searchesMarkus Heiser
Empty ``&fmt=`` argument triggers an automated tools detection from mojeek. Suggested-by: @shinodark in https://github.com/searxng/searxng/issues/4307#issuecomment-2669355322 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15[enh] engine: mojeek - add language support0xhtml
Improve region and language detection / all locale Testing has shown the following behaviour for the different default and empty values of Mojeeks parameters: | param | idx | value | behaviour | | -------- | --- | ------ | ------------------------- | | region | 0 | '' | detect region based on IP | | region | 1 | 'none' | all regions | | language | 0 | '' | all languages |
2024-06-23[fix] implement tests and remove usage of gen_useragent in enginesGrant Lanham
2024-06-07[feat] mojeek: implement dedicated moduleBnyro