Add function to download url directly.