summaryrefslogtreecommitdiff
path: root/searx/engines/bing_videos.py
AgeCommit message (Collapse)Author
2020-11-14[mod] remove unused importAlexandre Flament
use from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA so it is possible to easily remove all unused import using autoflake: autoflake --in-place --recursive --remove-all-unused-imports searx tests
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-03-01bugfix(!biv) : bing-video do not like "older" User-AgentsMarkus Heiser
When selecting other languages than 'en', bing-video did not handle the language correct and gave very bad results. Since User-Agent is normaly rotated in searx, the behavior of a !biv search was unpredictable and paging was broken. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-01bugfix: fetch_supported_languages bing, -news, -videos, -imagesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-07-27[fix] bing_videos (#1579)Frank de Lange
use JSON where possible, compose 'content' using all available data, use correct 'url' (direct to source instead of redirect through bing)
2019-01-06[fix] check language aliases when setting search languageMarc Abonce Seguin
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.
2018-02-10fix bing videos engineNoémi Ványi
2017-10-10[fix] language support for bing images and videosmarc
2017-08-05add bing videos enginemarc