summaryrefslogtreecommitdiff
path: root/searx/search/processors/online_dictionary.py
Commit message (Collapse)AuthorAge
* [fix] spellingjazzzooo2023-09-18
|
* [mod] replace engines_languages.json by engines_traits.jsonMarkus Heiser2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Implementations of the *traits* of the engines. Engine's traits are fetched from the origin engine and stored in a JSON file in the *data folder*. Most often traits are languages and region codes and their mapping from SearXNG's representation to the representation in the origin search engine. To load traits from the persistence:: searx.enginelib.traits.EngineTraitsMap.from_data() For new traits new properties can be added to the class:: searx.enginelib.traits.EngineTraits .. hint:: Implementation is downward compatible to the deprecated *supported_languages method* from the vintage implementation. The vintage code is tagged as *deprecated* an can be removed when all engines has been ported to the *traits method*. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] add description of method EngineProcessor.get_params()Markus Heiser2022-08-01
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [fix] online_dictionary: regular expressionMarkus Heiser2022-07-07
| | | | | | | The query term of a engine-type `online_dictionary` can consist of more than one word. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [format.python] initial formatting of the python codeMarkus Heiser2021-12-27
| | | | | | | | | | 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>
* [fix] typo: online_dictionnary --> online_dictionaryMarkus Heiser2021-06-04
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [lint] pylint searx/search/processors files / BTW add some doc-stringsMarkus Heiser2021-04-27
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [enh] add checkerAlexandre Flament2021-01-12
|
* [mod] split searx.search into different processorsAlexandre Flament2020-12-17
see searx.search.processors.abstract.EngineProcessor First the method searx call the get_params method. If the return value is not None, then the searx call the method search.