Commit Graph

24 Commits (a3b83b73cbe5f8c04e6a3b04539c04e18c3c2fed)

Author SHA1 Message Date
rinpatch cd1374d2f2 added whitespaces 6 years ago
rinpatch a305dae9d8 switched currency convert to duckduckgo and added Bitcoin to currency list 6 years ago
Marc Abonce Seguin 829032f306 [fix] read utf-8 files (settings, languages, currency) with python3.5
Related to discussion in #1124
The io.open import is necessary for python2
7 years ago
Joseph Nuthalapati bdc803e185
Make Python 3 able to read settings files with Unicode characters
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>
7 years ago
pyrrh0n1c 4340c0b16c Fixed typos. 7 years ago
pyrrh0n1c 2231b02add Fixed the currency_convert engine. 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
stepshal b3ab221b98 Fix anomalous backslash in string 8 years ago
Maxqia 56e53c9297 [fix] currency_convert: make unit tests pass
also make regex more efficent and normalize 's'es
8 years ago
Maxqia fe2ce83e41 [enh] currency_convert: allow strings like google's "convert 1 euro to dollars" 8 years ago
Cqoicebordel 94567d99b3 Allow use of chars as € in currency converter 9 years ago
Alexandre Flament 5525625dae [enh] currency_convert engine: user can write "1 dollars in euros" instead 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.
9 years ago
Alexandre Flament 99efd790c8 engines: use https when possible 9 years ago
Cqoicebordel a96208be96 Mediawiki's unit test 10 years ago
dalf 7c13d630e4 [fix] pep8 : engines (errors E121, E127, E128 and E501 still exist) 10 years ago
Dalf 6bfd566353 [enh] add infoboxes and answers 10 years ago
Adam Tauber 66f02dc2b6 [fix] unused globals removed 10 years ago
asciimoo b2492c94f4 [fix] pep/flake8 compatibility 11 years ago
Matej Cotman dd4662978d fix: robot fw, entry points, some flake8, package searx egg 11 years ago
asciimoo ab7fb1190d [enh] smarter currency query parse II. 11 years ago
asciimoo a35128f5e0 [enh] smarter currency query parse 11 years ago
asciimoo 1240be48fb [fix] currency converter - valid date url param 11 years ago
asciimoo 14cd1d6faf [enh] moar weight for currency convertor 11 years ago
asciimoo cfff04f7d0 [enh] currency converter engine added 11 years ago