searxngRebrandZaclys/searx/engines
Marc Abonce Seguin 772c048d01 refactor engine's search language handling
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.

Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
2018-03-27 00:08:03 -06:00
..
__init__.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
1337x.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
archlinux.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
arxiv.py minor fixes of arxiv 2017-11-01 14:22:22 +01:00
asksteem.py [fix] pep8 2018-02-18 23:24:59 +01:00
base.py minor fix of BASE engine 2017-11-01 17:02:38 +01:00
bing_images.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
bing_news.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
bing_videos.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
bing.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
btdigg.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
currency_convert.py [fix] read utf-8 files (settings, languages, currency) with python3.5 2018-01-16 23:26:10 -06:00
dailymotion.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
deezer.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
deviantart.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
dictzone.py [fix] is_valid_lang fixed for new languages.py + dictzone engine encoding 2017-06-25 18:29:19 +02:00
digbt.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
digg.py [fix] digg cookie characters created in module import 2017-08-30 21:14:12 +02:00
doku.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
duckduckgo_definitions.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
duckduckgo_images.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
duckduckgo.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
dummy.py update versions.cfg to use the current up-to-date packages 2015-05-02 15:45:17 +02:00
faroo.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
fdroid.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
filecrop.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
flickr_noapi.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
flickr.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
framalibre.py [fix] framalibre : remove result['thumbnail'] (not used) 2017-05-15 17:28:21 +02:00
frinkiac.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
genius.py removed unused indicies array 2017-10-25 10:42:37 +02:00
gigablast.py [fix] gigablast url parameter change - fixes #1107 2017-12-09 21:00:08 +01:00
github.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
google_images.py [fix] fix xpath of google images 2017-06-13 19:47:56 +02:00
google_news.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
google_videos.py add google videos 2017-07-26 15:49:16 +02:00
google.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
ina.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
json_engine.py [fix] convert json engine result attributes to string - closes #1006 2017-12-01 20:54:12 +01:00
kickass.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
mediawiki.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
microsoft_academic.py fix Microsoft Academic engine 2018-02-17 21:39:49 +01:00
mixcloud.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
nyaa.py [mod] int_or_zero refactored to searx_utils 2017-09-04 20:05:04 +02:00
openstreetmap.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
pdbe.py [fix] multiple fixes in pdbe engine 2017-12-01 20:54:12 +01:00
photon.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
piratebay.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
pubmed.py [fix] do not crash if publication date is missing in pubmed engine 2017-12-01 20:54:12 +01:00
qwant.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
reddit.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
scanr_structures.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
searchcode_code.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
searchcode_doc.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
searx_engine.py fix github url 2017-06-18 21:53:10 +04:00
seedpeer.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
soundcloud.py [enh] add init function to engines which loads parallel 2017-06-06 22:20:20 +02:00
spotify.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
stackoverflow.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
startpage.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
subtitleseeker.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
swisscows.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
tokyotoshokan.py [mod] int_or_zero refactored to searx_utils 2017-09-04 20:05:04 +02:00
torrentz.py [fix]torrentz search engine fixed for new version 2017-08-25 00:52:35 +02:00
translated.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
twitter.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
vimeo.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
wikidata.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
wikipedia.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
wolframalpha_api.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
wolframalpha_noapi.py [enh] add init function to engines which loads parallel 2017-06-06 22:20:20 +02:00
www1x.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
www500px.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
xpath.py [fix] produce valid urls if scheme is missing 2017-05-22 15:48:37 +02:00
yacy.py fix yacy result url 2018-01-06 14:52:14 +01:00
yahoo_news.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
yahoo.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
yandex.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
youtube_api.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
youtube_noapi.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00