Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elm/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ELM version number
"""

__version__ = "0.0.30"
__version__ = "0.0.31"
5 changes: 2 additions & 3 deletions elm/web/search/dux.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ class DuxDistributedGlobalSearch(SearchEngineLinkSearch):
_SE_NAME = "DuxDistributedGlobalSearch"

def __init__(self, region="us-en", safesearch="moderate", timelimit=None,
page=1, backend=("google", "bing", "yahoo", "duckduckgo"),
timeout=10, verify=False):
page=1, backend="all", timeout=10, verify=False):
"""

Parameters
Expand Down Expand Up @@ -78,7 +77,7 @@ async def _search(self, query, num_results=10):
timelimit=self.timelimit,
page=self.page,
backend=self.backend,
num_results=num_results)
max_results=num_results)

return list(filter(None, (info.get('href', "").replace("+", "%20")
for info in results)))
Expand Down
Loading