Add download functionality to search module

Use def with parentheses when there are parameters.<br>Surrounding space missing in default value assignment.