summaryrefslogtreecommitdiff
path: root/searx/engines/yahoo_news.py
AgeCommit message (Collapse)Author
2021-02-01[mod] dynamically set language_support variableAlexandre Flament
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
2021-01-14[enh] engines: add about variableAlexandre Flament
move meta information from comment to the about variable so the preferences, the documentation can show these information
2020-12-01[mod] pylint: numerous minor code fixesAlexandre Flament
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-10-02[mod] move extract_text, extract_url to searx.utilsAlexandre Flament
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
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-04-08[fix] yahoo news date parsingAdam Tauber
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-07-11Fix anomalous backslash in stringstepshal
2015-05-03[fix] yahoo_news engineAlexandre Flament
2014-10-19[fix] pep8 compatibilityAdam Tauber
2014-09-01fix yahoo engines and add commentsThomas Pointhuber
2014-03-18extract publishDate from vimeoThomas Pointhuber
2014-03-18simplify datetime extractionThomas Pointhuber
2014-03-15[fix] pep8Adam Tauber
2014-03-15improve publishDate extraction from yahooThomas Pointhuber
2014-03-14showing publishedDate for newsThomas Pointhuber
2014-03-08[fix] yahoo url extractionAdam Tauber
2014-03-04[fix] yahoo engine url extractionAdam Tauber
2014-03-04Create yahoo_news.pyThomas Pointhuber