diff options
| author | Mohamed Elashri <muhammadelashri@gmail.com> | 2022-09-30 23:06:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 23:06:54 +0000 |
| commit | 8d5653e60d5299979c0de5e55b1c5ca0bee8190c (patch) | |
| tree | 8dc02b7663a5c9c91b09483e4499a612d9823698 /searxng_extra | |
| parent | 212c98c9f55dc602f57b4f01a73192450e9782b7 (diff) | |
| parent | 62324655ff0d2e6f234b3e31413877b4b4a7a9fa (diff) | |
Merge branch 'searxng:master' into master
Diffstat (limited to 'searxng_extra')
| -rwxr-xr-x | searxng_extra/update/update_currencies.py | 4 | ||||
| -rwxr-xr-x | searxng_extra/update/update_languages.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/searxng_extra/update/update_currencies.py b/searxng_extra/update/update_currencies.py index 41ee2fa0b..dfe0aa0c7 100755 --- a/searxng_extra/update/update_currencies.py +++ b/searxng_extra/update/update_currencies.py @@ -26,7 +26,7 @@ set_loggers(wikidata, 'wikidata') locales_initialize() # ORDER BY (with all the query fields) is important to keep a deterministic result order -# so multiple invokation of this script doesn't change currencies.json +# so multiple invocation of this script doesn't change currencies.json SARQL_REQUEST = """ SELECT DISTINCT ?iso4217 ?unit ?unicode ?label ?alias WHERE { ?item wdt:P498 ?iso4217; rdfs:label ?label. @@ -42,7 +42,7 @@ ORDER BY ?iso4217 ?unit ?unicode ?label ?alias """ # ORDER BY (with all the query fields) is important to keep a deterministic result order -# so multiple invokation of this script doesn't change currencies.json +# so multiple invocation of this script doesn't change currencies.json SPARQL_WIKIPEDIA_NAMES_REQUEST = """ SELECT DISTINCT ?iso4217 ?article_name WHERE { ?item wdt:P498 ?iso4217 . diff --git a/searxng_extra/update/update_languages.py b/searxng_extra/update/update_languages.py index 5baf2fc5c..87b13b276 100755 --- a/searxng_extra/update/update_languages.py +++ b/searxng_extra/update/update_languages.py @@ -29,7 +29,7 @@ engines_languages_file = Path(searx_dir) / 'data' / 'engines_languages.json' languages_file = Path(searx_dir) / 'languages.py' -# Fetchs supported languages for each engine and writes json file with those. +# Fetches supported languages for each engine and writes json file with those. def fetch_supported_languages(): set_timeout_for_thread(10.0) |