summaryrefslogtreecommitdiff
path: root/searxng_extra/update/update_currencies.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-01-03 12:40:06 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-01-05 16:09:40 +0100
commitffea5d8ef5540bc4be08b2b26e1819d5401f854d (patch)
treeb2285d42d9ed6debec82ebd25fca31358a452794 /searxng_extra/update/update_currencies.py
parentb630c5d7bc0bf5a4281ad402bb32adc7f6ab257f (diff)
downloadsearxng-ffea5d8ef5540bc4be08b2b26e1819d5401f854d.tar.gz
searxng-ffea5d8ef5540bc4be08b2b26e1819d5401f854d.zip
[docs] add documentation for the scripts in searxng_extra/update
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searxng_extra/update/update_currencies.py')
-rwxr-xr-xsearxng_extra/update/update_currencies.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/searxng_extra/update/update_currencies.py b/searxng_extra/update/update_currencies.py
index 3373e2455..cdff4cbc9 100755
--- a/searxng_extra/update/update_currencies.py
+++ b/searxng_extra/update/update_currencies.py
@@ -1,6 +1,12 @@
#!/usr/bin/env python
# SPDX-License-Identifier: AGPL-3.0-or-later
+"""Fetch currencies from :origin:`searx/engines/wikidata.py` engine.
+
+Output file: :origin:`searx/data/currencies.json` (:origin:`CI Update data ...
+<.github/workflows/data-update.yml>`).
+
+"""
import re
import unicodedata
import json