summaryrefslogtreecommitdiff
path: root/searx/engines/duckduckgo_definitions.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-10-04 19:20:32 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2023-03-24 10:37:42 +0100
commitdba8977b098b7f32dde78b8d7c27c5df50aacecb (patch)
treef564be24bf48baa6a494fdc1c7980b2992da934f /searx/engines/duckduckgo_definitions.py
parentef143729a0b69b35834482ecdbbf97c15dc6a40d (diff)
downloadsearxng-dba8977b098b7f32dde78b8d7c27c5df50aacecb.tar.gz
searxng-dba8977b098b7f32dde78b8d7c27c5df50aacecb.zip
[mod] DuckDuckGo: fetch engine traits (data_type: supported_languages)
Implements a fetch_traits function for the DuckDuckGo engines. .. note:: Does not include migration of the request methode from 'supported_languages' to 'traits' (EngineTraits) object! Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/duckduckgo_definitions.py')
-rw-r--r--searx/engines/duckduckgo_definitions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/duckduckgo_definitions.py b/searx/engines/duckduckgo_definitions.py
index 7ed0de35c..8b42799be 100644
--- a/searx/engines/duckduckgo_definitions.py
+++ b/searx/engines/duckduckgo_definitions.py
@@ -11,6 +11,7 @@ from lxml import html
from searx.data import WIKIDATA_UNITS
from searx.engines.duckduckgo import language_aliases
from searx.engines.duckduckgo import ( # pylint: disable=unused-import
+ fetch_traits,
_fetch_supported_languages,
supported_languages_url,
)