split select_func method in curseshostsui.py

Signed-off-by: huhamhire <me@huhamhire.com>
create download method for curseshosts

Signed-off-by: huhamhire <me@huhamhire.com>