From 1d16b94279b252bb2e298a2afffb9561d8b5bd85 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 1 Mar 2025 10:49:11 +0100 Subject: [fix] wikidata: increase wikidata queries timeout The big queries for initializing and updating the currencies take longer than the default of the wikidata engine, which is only 3sec. Signed-off-by: Markus Heiser --- utils/lib_sxng_data.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils') diff --git a/utils/lib_sxng_data.sh b/utils/lib_sxng_data.sh index ab1204de6..d24668146 100755 --- a/utils/lib_sxng_data.sh +++ b/utils/lib_sxng_data.sh @@ -8,6 +8,7 @@ data.: traits : update searx/data/engine_traits.json & searx/sxng_locales.py useragents: update searx/data/useragents.json with the most recent versions of Firefox locales : update searx/data/locales.json from babel + currencies: update searx/data/currencies.json from wikidata EOF } @@ -59,3 +60,12 @@ data.locales() { ) dump_return $? } + +data.currencies(){ + ( set -e + pyenv.activate + build_msg DATA "update searx/data/currencies.json" + python searxng_extra/update/update_currencies.py + ) + dump_return $? +} -- cgit v1.2.3