Markus Heiser
c89c05bceb
bugfix: google-news and bing-news has changed the language parameter
...
closes: https://github.com/asciimoo/searx/issues/1838
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Noémi Ványi
b63d645a52
Revert "remove 'all' option from search languages"
...
This reverts commit 4d1770398a
.
6 years ago
Marc Abonce Seguin
5568f24d6c
[fix] check language aliases when setting search language
6 years ago
Marc Abonce Seguin
835d1edd58
[fix] google news xpath
7 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.
7 years ago
marc
4d1770398a
remove 'all' option from search languages
7 years ago
misnyo
3182ba7069
[fix] google news dom xpath fix
7 years ago
Adam Tauber
52e615dede
[enh] py3 compatibility
8 years ago
Adam Tauber
108392f8da
[fix] skip non-complete google news results
8 years ago
Adam Tauber
8bff42f049
Merge branch 'master' into languages
8 years ago
Adam Tauber
0171db5c3f
[fix] handle missing images in google news
8 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
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
8 years ago
Adam Tauber
a2c94895c1
[fix] google news engine change follow-up
8 years ago
Alexandre Flament
4689fe341c
update versions.cfg to use the current up-to-date packages
10 years ago
Cqoicebordel
b7dc1fb9d5
Google news' unit test
10 years ago
dalf
7c13d630e4
[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)
10 years ago
Thomas Pointhuber
144f89bf78
add comments to google-engines
10 years ago
Adam Tauber
ce08abe223
[fix] remove unused imports ++ pep8
11 years ago
Thomas Pointhuber
337bd6d907
simplify datetime extraction
11 years ago
Adam Tauber
b735093564
[fix] pep8
11 years ago
Thomas Pointhuber
b88146d669
showing publishedDate for news
11 years ago
Adam Tauber
98b6313d5d
[fix] pep8
11 years ago
Thomas Pointhuber
0549f8c7c8
Create google_news.py
11 years ago