summaryrefslogtreecommitdiff
path: root/utils/fetch_currencies.py
AgeCommit message (Collapse)Author
2021-03-04Add searx_extra packageAlexandre Flament
Split the utils directory into: * searx_extra contains update scripts, standalone_searx.py * utils contains the files to build and setup searx.
2021-02-23[mod] update currencies.json and fetch_currencies.pyAlexandre Flament
use a sparql request on wikidata to get the list of currencies. currencies.json contains the translation for all supported searx languages. Supersede #993
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2017-11-14print() is a function in Python 3cclauss
2016-08-11Add missing blank lines after class or function definition.stepshal
2016-07-11utils/fetch_currencies: fix commentstepshal
2016-07-11Comparison to None should be 'if cond is not None:'stepshal
2016-07-11Fix whitespacesstepshal
2016-07-10Fix quantity of blank lines after code object.stepshal
2016-07-08Remove trailing whitespacestepshal
2015-05-12[enh] currency_convert engine: user can write "1 dollars in euros" instead ↵Alexandre Flament
of "1 USD in EUR". The currency names are fetched wikidata and store into a static file : searx/data/currencies.json This file is loaded when the currency_converter is loaded. A database is perhaps more appropiated.