Add option to get hosts from url