summaryrefslogtreecommitdiff
path: root/searx/engines/currency_convert.py
AgeCommit message (Collapse)Author
2024-03-11[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTIONMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-28[fix] engine - currency fix and simplifyjazzzooo
2023-08-18[mod] currency_convert: support for showing the answer source urlMarkus Heiser
Show URL of the ddg-search page, not the URL of a (generic) Javascript. The latter one is not usefull for the user. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-01[pylint] engines/currency_convert.pyMarkus Heiser
Fix remarks from pylint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-31[fix] engines description - currency_convert.pyMarkus Heiser
Currency engine has DuckDuckGo metadata In the engine selector of the preferences window, the currency search engine has the same metadata and wikidata url as duckduckgo, I'd assume there should be a difference of some sort there clarifying what source the currency uses or, if it's a duckduckgo service, at least clarifying that it's a currency service by duck duck go. Closes: https://github.com/searxng/searxng/issues/787 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-27[format.python] initial formatting of the python codeMarkus Heiser
This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-01-14[enh] engines: add about variableAlexandre Flament
move meta information from comment to the about variable so the preferences, the documentation can show these information
2020-12-17[mod] dictzone, translated, currency_convert: use engine_type online_curency ↵Alexandre Flament
and online_dictionnary
2020-12-09display if an engine does not support httpsNoémi Ványi
Closes #302
2020-12-01[mod] pylint: numerous minor code fixesAlexandre Flament
2020-11-14[mod] remove unused importAlexandre Flament
use from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA so it is possible to easily remove all unused import using autoflake: autoflake --in-place --recursive --remove-all-unused-imports searx tests
2020-10-07[mod] Add searx.data moduleAlexandre Flament
Instead of loading the data/*.json in different location, load these files in the new searx.data module.
2020-09-10Drop Python 2 (4/n): SearchQuery.query is a str instead of bytesDalf
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2018-04-22added whitespacesrinpatch
2018-04-22switched currency convert to duckduckgo and added Bitcoin to currency listrinpatch
2018-01-16[fix] read utf-8 files (settings, languages, currency) with python3.5Marc Abonce Seguin
Related to discussion in #1124 The io.open import is necessary for python2
2017-12-21Make Python 3 able to read settings files with Unicode charactersJoseph Nuthalapati
SearX currently doesn't start up when run with Python 3 as it tries to parse the settings.yml file with ASCII codecs. There are similar problems with engines_languages.json and currencies.json Python 3 requires that files with Unicode characters be read with a 'b' flag. This also works with Python 2 and hence can be integrated into the main source code. Tested with the latest Python 3.6.4rc1 on Debian unstable. Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-11-07Fixed typos.pyrrh0n1c
2017-11-07Fixed the currency_convert engine.pyrrh0n1c
2017-05-15[enh] py3 compatibilityAdam Tauber
2016-07-11Fix anomalous backslash in stringstepshal
2016-05-03[fix] currency_convert: make unit tests passMaxqia
also make regex more efficent and normalize 's'es
2016-04-30[enh] currency_convert: allow strings like google's "convert 1 euro to dollars"Maxqia
2015-06-07Allow use of chars as € in currency converterCqoicebordel
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.
2015-04-26engines: use https when possibleAlexandre Flament
2015-02-03Mediawiki's unit testCqoicebordel
2014-12-07[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)dalf
2014-09-28[enh] add infoboxes and answersDalf
2014-07-09[fix] unused globals removedAdam Tauber
2014-01-20[fix] pep/flake8 compatibilityasciimoo
2014-01-20fix: robot fw, entry points, some flake8, package searx eggMatej Cotman
2013-12-01[enh] smarter currency query parse II.asciimoo
2013-12-01[enh] smarter currency query parseasciimoo
2013-11-10[fix] currency converter - valid date url paramasciimoo
2013-11-10[enh] moar weight for currency convertorasciimoo
2013-11-04[enh] currency converter engine addedasciimoo