Commit Graph

12 Commits (b8978b4bbf20eaf6dee1c3e63330a39eae76dfc8)

Author SHA1 Message Date
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.
6 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Alexandre Flament f5128c7cb9 [mod] add/modify image fetching for bing_news, qwant and twitter engines 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
marc fd65c12921 make search language handling less strict
languages.py can change, so users may query on a language that is not
on the list anymore, even if it is still recognized by a few engines.

also made no and nb the same because they seem to return the same,
though most engines will only support one or the other.
7 years ago
marc 805fb02ed1 add language support for qwant
closes issue #863
7 years ago
marc f62ce21f50 [mod] fetch supported languages for several engines
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc a11948c71b Add language support for more engines. 8 years ago
Adam Tauber c3dcebb778 [fix] remove html tags from qwant results 8 years ago
Cqoicebordel e0774c849c Removed the keywords from the settings in qwant engine 9 years ago
Cqoicebordel f05087b93a Refactor
Use only one engine for the four search from Qwant
9 years ago
Cqoicebordel 884eeb8541 New Qwant engines
- Web
- Images
- News
- Social media
9 years ago