Adam Tauber
94ea9d6622
[fix] duckduckgo paging - closes #1677
2019-10-14 13:52:15 +02:00
Noémi Ványi
b63d645a52
Revert "remove 'all' option from search languages"
...
This reverts commit 4d1770398a
.
2019-01-07 21:19:00 +01:00
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 Abonce Seguin
d1eae9359f
fix fetch_langauges to be more accurate
...
Add languages supported by either all default general engines or 10 engines.
2018-03-20 17:58:20 -06:00
Marc Abonce Seguin
216716db70
[fix] change duckduckgo url to avoid error response
2018-03-14 23:18:42 -06:00
marc
4d1770398a
remove 'all' option from search languages
2017-12-06 01:20:15 -06:00
marc
44085e31d0
update engines_languages.json and languages.py
...
Also, fix fetch_languages.py so it can run on python3.
2017-10-10 16:53:28 -05:00
Adam Tauber
077d8efed8
[fix] use poolrequests in ddg engines
2017-07-21 16:23:20 +02:00
marc
405e5c8f24
[fix] duckduckgo images doesn't fail with countryless language
2017-07-10 18:41:50 +02:00
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.
2017-05-27 21:12:39 -05:00
marc
c65a409f0d
add duckduckgo images engine
2017-05-23 20:07:09 +02:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
Noémi Ványi
742e4dfdcc
[fix] fix paging of duckduckgo
2017-02-01 20:54:13 +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
e0c270bd72
tests for language support in engines
2016-12-13 23:51:15 -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
a11948c71b
Add language support for more engines.
2016-12-13 19:32:43 -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
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)
2016-12-11 16:58:31 +01:00
Adam Tauber
350a84520d
[fix] time range detection
2016-07-26 00:28:48 +02:00
Noemi Vanyi
f13b9fa36a
add time range search for duckduckgo
2016-07-25 23:28:14 +02:00
marc
aac4ed6971
[fix] guess country code if not specified in duckduckgo engine
2016-07-14 16:36:52 -05:00
a01200356
8fc4b8156a
[fix] multilingual duckduckgo
...
only works if both country and language are set
2016-07-12 23:44:39 -05:00
a01200356
751c9a346e
[fix] duckduckgo's xpaths changed
...
test_duckduckgo modified to reflect changes in duckduckgo's html
2016-03-21 20:19:13 -06:00
Adam Tauber
4184cece4a
[fix] duckduckgo unicode url - #419
2015-09-07 23:13:04 +02:00
Emmanuel Benazera
78a69e4c98
ddg encoding of URLs appears to be broken, revealed when trying to pickled the results to disk
2015-09-01 16:50:54 +02:00
Alexandre Flament
4689fe341c
update versions.cfg to use the current up-to-date packages
2015-05-02 15:45:17 +02:00
Cqoicebordel
efe6dead55
Duckduckgo unit test
2015-02-02 17:55:39 +01:00
dalf
7c13d630e4
[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)
2014-12-07 16:37:56 +01:00
dalf
64b75e6d82
[enh] duckduckgo engine: add language support
2014-09-07 22:52:13 +02:00
Thomas Pointhuber
8eb064dea1
add little note to duckduckgo engine
2014-09-02 20:21:33 +02:00
Thomas Pointhuber
80f98d6041
add little comment
2014-09-02 18:12:42 +02:00
Thomas Pointhuber
e6e4de8ba0
rewrite duckduckgo engine and add comments
2014-09-02 17:14:57 +02:00
Adam Tauber
52a817f5c1
[fix] pep8
2014-03-29 16:38:45 +01:00
Adam Tauber
a8a0de644d
[fix] indexing
2014-03-21 18:17:13 +01:00
Adam Tauber
3854703d95
[mod] ddg engine mods
2014-03-21 16:33:17 +01:00
asciimoo
c0afc4fea7
[enh] paging support for ddg
2014-01-30 01:03:19 +01:00
asciimoo
b2492c94f4
[fix] pep/flake8 compatibility
2014-01-20 02:31:20 +01:00
Dalf
bf56ec4fb1
[mod] bing and duckduckgo engines : add / rename locale parameter
2014-01-05 13:58:17 +01:00
asciimoo
17bf00ee42
[enh] removing result html tags
2013-11-09 18:39:20 +01:00
asciimoo
74b6be3991
[enh] engine cfg compatibilty
2013-10-23 23:55:37 +02:00
asciimoo
d793c2733c
[enh] engine types
2013-10-15 19:11:43 +02:00
asciimoo
ae9fb1d7dc
[enh] initial commit
2013-10-14 23:09:13 +02:00