summaryrefslogtreecommitdiff
path: root/searx/engines/bing.py
AgeCommit message (Collapse)Author
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
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.
2017-12-06remove 'all' option from search languagesmarc
2017-05-15[enh] py3 compatibilityAdam Tauber
2017-03-18make search language handling less strictmarc
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.
2016-12-30[fix] use english as default language in bingAdam Tauber
If no language is specified, bing returns results with multiple languages for one query which isn't really useful. Setting english as default insted if nothing.
2016-12-15tests for _fetch_supported_languages in enginesmarc
and refactor method to make it testable without making requests
2016-12-13[mod] fetch supported languages for several enginesmarc
utils/fetch_languages.py gets languages supported by each engine and generates engines_languages.json with each engine's supported language.
2016-12-13[enh] add supported_languages on engines and auto-generate languages.pymarc
2016-12-09[mod] do not escape html content in enginesAdam Tauber
2016-11-14[fix] pep8Adam Tauber
2016-11-14[fix] bing unicode issue part III.Adam Tauber
2016-11-14[fix] bing character encoding - closes #760Adam Tauber
2016-11-07[fix] unicode search expression for bingAdam Tauber
2016-11-07[fix] bing paging and language supportAdam Tauber
see https://msdn.microsoft.com/en-us/library/ff795620.aspx for bing specific search operators closes #755
2016-06-28[enh] display number of resultsAdam Tauber
2015-08-28[fix] bing unicode encode error - fixes #408Adam Tauber
2015-05-02update versions.cfg to use the current up-to-date packagesAlexandre Flament
2015-01-25Add bing in the test unitsCqoicebordel
2014-12-07[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)dalf
2014-09-02little refactoringThomas Pointhuber
2014-09-01update bing engines and fix bing_newsThomas Pointhuber
2014-07-09[fix] unused globals removedAdam Tauber
2014-02-05Improves PEP8 compatibility.Gabor Nagy
2014-01-31[enh] search language support initasciimoo
2014-01-29[enh] bing, google paging supportasciimoo
2014-01-20fix: robot fw, entry points, some flake8, package searx eggMatej Cotman
2014-01-05[mod] bing and duckduckgo engines : add / rename locale parameterDalf
2013-10-25[fix] debug msg removedasciimoo
2013-10-25[enh] bing updates ++ language supportasciimoo
2013-10-24[enh] bing engine addedasciimoo