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 година
marc
3b950929b1
[fix] fix duckduckgo's offset
First page now starts with 0 offset,
rather than starting on the 30th result.
DuckDuckGo returns 30 results on each page.
пре 7 година
Adam Tauber
52e615dede
[enh] py3 compatibility
пре 8 година
marc
af35eee10b
tests for _fetch_supported_languages in engines
пре 8 година
marc
e0c270bd72
tests for language support in engines
пре 8 година
marc
a11948c71b
Add language support for more engines.
пре 8 година
Noémi Ványi
b034356825
add year filter to engines with time range support && tests
Following engines does not support "Last year":
* Bing News
* DeviantArt
* DuckDuckGo
* Yahoo
* YouTube (noapi)
пре 8 година
Adam Tauber
350a84520d
[fix] time range detection
пре 8 година
a01200356
8fc4b8156a
[fix] multilingual duckduckgo
only works if both country and language are set
пре 8 година
a01200356
751c9a346e
[fix] duckduckgo's xpaths changed
test_duckduckgo modified to reflect changes in duckduckgo's html
пре 8 година
Adam Tauber
53979a7bf7
[mod] remove buildout/makefile infrastructure
пре 9 година
Adam Tauber
4184cece4a
[fix] duckduckgo unicode url - #419
пре 9 година
Cqoicebordel
1ea5bc63a5
Currency converter's unit test + DDG correction
пре 10 година
Cqoicebordel
efe6dead55
Duckduckgo unit test
пре 10 година