[mod] update currencies.json and fetch_currencies.py
use a sparql request on wikidata to get the list of currencies.
currencies.json contains the translation for all supported searx languages.
Supersede #993
commit46ca32c3ccbc5d740cffa2aa8ddd06e66f30e772
authorAlexandre Flament <alex@al-f.net>
dateFri 19 Feb 2021, 12:52 (6 years ago)
parent1be6ab2
4 files changed+15016−7746
.github/workflows/data-update.yml+1−1
@@ -41,7 +41,7 @@ jobs:
4141 python utils/fetch_languages.py
4242 python utils/fetch_ahmia_blacklist.py
4343 python utils/fetch_wikidata_units.py
44− # python utils/fetch_currencies.py
44+ python utils/fetch_currencies.py
4545
4646 - name: Create Pull Request
4747 id: cpr
searx/data/currencies.json+14898−7618
This diff is too big to show here.
searx/search/processors/online_currency.py+2
This diff is too big to show here.
utils/fetch_currencies.py+115−127
This diff is too big to show here.