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.
2018-03-27 00:08:03 -06:00
marc
4d1770398a
remove 'all' option from search languages
2017-12-06 01:20:15 -06:00
misnyo
3182ba7069
[fix] google news dom xpath fix
2017-08-31 17:48:07 +02:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
Adam Tauber
108392f8da
[fix] skip non-complete google news results
2017-01-10 11:03:05 +01:00
Adam Tauber
8bff42f049
Merge branch 'master' into languages
2016-12-28 20:00:53 +01:00
Adam Tauber
0171db5c3f
[fix] handle missing images in google news
2016-12-23 12:59:52 +01:00
marc
af35eee10b
tests for _fetch_supported_languages in engines
...
and refactor method to make it testable without making requests
2016-12-15 00:40:21 -06:00
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.
2016-12-13 19:58:10 -06:00
marc
149802c569
[enh] add supported_languages on engines and auto-generate languages.py
2016-12-13 19:32:00 -06:00
Noémi Ványi
c59c76e6ee
add year to time range to engines which support "Last year"
...
Engines:
* Bing images
* Flickr (noapi)
* Google
* Google Images
* Google News
2016-12-11 16:58:31 +01:00
Adam Tauber
a2c94895c1
[fix] google news engine change follow-up
2016-12-11 01:03:52 +01:00
Alexandre Flament
4689fe341c
update versions.cfg to use the current up-to-date packages
2015-05-02 15:45:17 +02:00
Cqoicebordel
b7dc1fb9d5
Google news' unit test
2015-01-31 16:38:03 +01:00
dalf
7c13d630e4
[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)
2014-12-07 16:37:56 +01:00
Thomas Pointhuber
144f89bf78
add comments to google-engines
2014-09-01 15:10:05 +02:00
Adam Tauber
ce08abe223
[fix] remove unused imports ++ pep8
2014-03-18 19:24:01 +01:00
Thomas Pointhuber
337bd6d907
simplify datetime extraction
2014-03-18 13:19:50 +01:00
Adam Tauber
b735093564
[fix] pep8
2014-03-15 20:20:41 +01:00
Thomas Pointhuber
b88146d669
showing publishedDate for news
2014-03-14 09:55:11 +01:00
Adam Tauber
98b6313d5d
[fix] pep8
2014-03-04 14:20:29 +01:00
Thomas Pointhuber
0549f8c7c8
Create google_news.py
2014-03-04 13:11:04 +01:00