Markus Heiser
6e5f22e558
[mod] replace engines_languages.json by engines_traits.json
...
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>
2023-03-24 10:37:42 +01:00
..
2023-03-24 10:37:42 +01:00
2022-08-24 18:33:11 +07:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2023-03-15 19:55:20 +01:00
2022-08-27 06:23:30 +07:00
2022-08-27 06:17:58 +07:00
2022-01-05 11:00:11 +01:00
2021-12-27 09:26:22 +01:00
2022-09-23 20:45:58 +02:00
2022-02-21 22:12:07 +01:00
2021-12-27 09:26:22 +01:00
2022-08-01 17:01:59 +02:00
2022-08-01 17:01:59 +02:00
2022-08-21 20:08:00 +01:00
2023-01-09 15:08:24 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2022-09-25 15:46:29 +02:00
2023-02-10 13:59:21 +01:00
2022-02-01 08:02:42 +01:00
2022-05-07 18:23:10 +02:00
2022-08-10 09:14:36 +02:00
2022-02-18 19:00:49 +01:00
2023-03-24 10:37:42 +01:00
2022-08-01 17:01:59 +02:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2023-02-10 13:59:21 +01:00
2021-12-27 10:16:20 +01:00
2022-09-27 18:32:14 +02:00
2022-08-01 17:01:59 +02:00
2022-10-20 11:44:17 +03:00
2023-02-03 08:45:51 +01:00
2022-08-20 08:41:03 +02:00
2021-12-27 09:26:22 +01:00
2021-01-14 20:57:17 +01:00
2022-04-16 19:10:35 +02:00
2021-12-27 09:26:22 +01:00
2022-07-24 19:14:26 +02:00
2022-01-05 11:00:11 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2022-02-13 14:20:47 +01:00
2021-12-27 09:26:22 +01:00
2022-02-21 22:12:07 +01:00
2022-01-05 11:00:11 +01:00
2023-02-10 13:59:21 +01:00
2022-09-27 18:32:14 +02:00
2022-09-21 18:59:55 +02:00
2022-09-27 18:32:14 +02:00
2022-08-01 17:01:59 +02:00
2022-09-23 20:45:58 +02:00
2022-09-27 18:32:14 +02:00
2022-11-11 07:39:48 +00:00
2022-01-05 11:03:44 +01:00
2022-01-28 22:33:41 +01:00
2022-02-18 19:00:49 +01:00
2022-05-07 18:23:10 +02:00
2022-06-11 14:17:44 +02:00
2021-12-27 09:26:22 +01:00
2022-07-04 19:06:45 +02:00
2021-12-27 09:26:22 +01:00
2022-03-07 19:49:16 +01:00
2021-12-27 09:26:22 +01:00
2021-09-07 13:26:59 +02:00
2022-11-07 08:07:06 -06:00
2022-02-19 21:59:12 +01:00
2022-07-30 18:04:44 +02:00
2022-07-30 18:04:44 +02:00
2021-12-27 09:26:22 +01:00
2021-01-14 20:57:17 +01:00
2022-08-01 17:01:59 +02:00
2022-01-07 14:14:31 +01:00
2021-12-27 09:26:22 +01:00
2023-01-29 10:01:54 +00:00
2022-06-02 14:32:37 +02:00
2022-09-27 18:32:14 +02:00
2021-12-27 09:26:22 +01:00
2022-07-30 18:04:44 +02:00
2022-09-23 20:45:58 +02:00
2022-08-14 10:36:14 +02:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2022-01-02 21:18:29 +01:00
2022-09-23 20:52:55 +02:00
2022-02-18 19:00:49 +01:00
2022-01-05 11:00:11 +01:00
2022-07-24 21:10:55 +02:00
2022-02-04 14:55:21 +01:00
2021-12-27 09:26:22 +01:00
2022-02-19 21:59:12 +01:00
2022-02-18 19:00:49 +01:00
2022-09-25 15:25:55 +02:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2023-01-28 10:24:14 +00:00
2022-07-23 16:00:58 +02:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2022-01-05 11:03:44 +01:00
2022-08-17 19:45:42 +07:00
2021-12-27 09:26:22 +01:00
2022-02-18 19:00:49 +01:00
2023-03-21 00:41:36 +01:00
2023-01-29 10:01:58 +00:00
2022-09-27 18:32:14 +02:00
2021-12-27 09:26:22 +01:00
2021-12-27 09:26:22 +01:00
2022-08-31 18:29:50 +07:00
2022-01-30 19:48:40 +01:00
2022-09-27 18:32:14 +02:00
2021-12-27 09:26:22 +01:00
2021-12-27 10:16:20 +01:00
2022-04-22 16:09:36 +02:00
2022-02-18 19:00:49 +01:00
2022-07-25 13:27:06 +02:00
2022-07-05 22:27:55 +02:00