summaryrefslogtreecommitdiff
path: root/searx/engines/yacy.py
AgeCommit message (Collapse)Author
2025-11-25[fix] engines: base URL can be a list or a string, but its not None!Markus Heiser
The code injection and monkey patching examine the names in the module of the engine; if a variable there starts without an underscore and has the value None, then this variable needs to be configured. This outdated concept does not fit engines that may have multiple URLs. At least not as long as the value of the base URL (list) is None. The default is now an empty list instead of None Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-09-10[feat] engines yacy & piped: enable individual configuration of URLs (#5195)Markus Heiser
With this change it is possible with individual engines (yacy & piped) to configure individual URLs. Related: - https://github.com/searxng/searxng/issues/4869#issuecomment-327335928 - https://github.com/searxng/searxng/pull/3472/files#r1595586019 - https://github.com/searxng/searxng/issues/3428#issuecomment-2102142530 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-09-03[mod] drop: from __future__ import annotationsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-20[fix] engine yacy: update list of base URLsMarkus Heiser
https://search.lomig.me Poor results / tested `!yacy :en hello` and got zero results https://yacy.ecosys.eu Slow response (> 6sec for trivial search terms) https://search.webproject.link Dead instance / URL offline Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-09[mod] yacy engine: pick base_url randomly from a list of instancesMarkus Heiser
Inspired by post [1] in the disscussion we had, while yacy.searchlab.eu was broken. [1] https://github.com/searxng/searxng/issues/3428#issuecomment-2101080101 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTIONMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-09[mod] yacy: use official instance by default and fix crashesBnyro
2023-08-03[doc] engine: YacyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-03add option to change yacy search modezutto
2021-12-27[format.python] initial formatting of the python codeMarkus Heiser
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-04-10[enh] replace requests by httpxAlexandre Flament
2021-02-01[mod] dynamically set language_support variableAlexandre Flament
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
2021-01-14[enh] engines: add about variableAlexandre Flament
move meta information from comment to the about variable so the preferences, the documentation can show these information
2020-10-09Add yacy improvements: HTTP digest auth, category checkingNoémi Ványi
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-06-29Fix YaCy text results returned as imagesSophie Tauchert
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2018-01-06fix yacy result urlNoémi Ványi
Closes #1064
2017-12-06remove 'all' option from search languagesmarc
2017-05-15[enh] py3 compatibilityAdam Tauber
2016-12-13[enh] add supported_languages on engines and auto-generate languages.pymarc
2016-12-11htmlize yacy contentsThomas Renard
2015-05-02update versions.cfg to use the current up-to-date packagesAlexandre Flament
2015-02-09Yacy's unit testCqoicebordel
2015-02-01[enh] improve yacy engineThomas Pointhuber
2014-12-16[fix] pep8Thomas Pointhuber
2014-12-07[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)dalf
2014-09-03fix yacy-engine and add commentsThomas Pointhuber
* add language support * add image-support * add basic-implementation for video, music and file handling * refactore engine * add comments
2014-02-11[mod] len() removed from conditionsasciimoo
2014-01-20[fix] pep/flake8 compatibilityasciimoo
2014-01-05[mod] unused imports and whitespaces purgedasciimoo
2013-12-29[enh] add support for yacy engine (localhost)pw3t