download_files_in_parallel

astropy.utils.data.download_files_in_parallel(urls, cache=False)[source] [edit on github]

Downloads multiple files in parallel from the given URLs. Blocks until all files have downloaded. The result is a list of local file paths corresponding to the given urls.

Parameters:

urls : list of str

The URLs to retrieve.

cache : bool, optional

Whether to use the cache

Returns:

paths : list of str

The local file paths corresponding to the downloaded URLs.