Commit Graph

20 Commits (2438b3c77a3ad276aaeb15e5a54315d351a42273)

Author SHA1 Message Date
Noémi Ványi b63d645a52 Revert "remove 'all' option from search languages"
This reverts commit 4d1770398a.
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.
6 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
Adam Tauber 46a2c63f8e [fix] yahoo news date parsing 7 years ago
marc af35eee10b tests for _fetch_supported_languages in engines
and refactor method to make it testable without making requests
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 149802c569 [enh] add supported_languages on engines and auto-generate languages.py 8 years ago
stepshal b3ab221b98 Fix anomalous backslash in string 8 years ago
Alexandre Flament 44ed4424f6 [fix] yahoo_news engine 9 years ago
Adam Tauber b0fd71b7b3 [fix] pep8 compatibility 10 years ago
Thomas Pointhuber 03db970e6a fix yahoo engines and add comments 10 years ago
Thomas Pointhuber 993271bed3 extract publishDate from vimeo 10 years ago
Thomas Pointhuber 337bd6d907 simplify datetime extraction 10 years ago
Adam Tauber b735093564 [fix] pep8 10 years ago
Thomas Pointhuber 5538c6771a improve publishDate extraction from yahoo 10 years ago
Thomas Pointhuber b88146d669 showing publishedDate for news 10 years ago
Adam Tauber 0fc481f47e [fix] yahoo url extraction 10 years ago
Adam Tauber ee1ffbc87f [fix] yahoo engine url extraction 10 years ago
Thomas Pointhuber f1404ce72d Create yahoo_news.py 10 years ago