Commit Graph

16 Commits (ceedab6aed96de3e98e12284e4ec054ce63e7fc4)

Author SHA1 Message Date
Adam Tauber 8850036ded [fix] add explicit useragent header to requests - closes #1459 5 years ago
Noémi Ványi b63d645a52 Revert "remove 'all' option from search languages"
This reverts commit 4d1770398a.
6 years ago
Marc Abonce Seguin 5568f24d6c [fix] check language aliases when setting search language 6 years ago
Adam Tauber 845ba79e75 [fix] update qwant search url
thx to @dalf for the fix (#1365)
6 years ago
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.
7 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 8 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 8 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.
8 years ago
marc 805fb02ed1 add language support for qwant
closes issue #863
8 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 10 years ago
Cqoicebordel f05087b93a Refactor
Use only one engine for the four search from Qwant
10 years ago
Cqoicebordel 884eeb8541 New Qwant engines
- Web
- Images
- News
- Social media
10 years ago