bulk_download

Contents

bulk_download#

stable_ssl.data.bulk_download(urls: Iterable[str], dest_folder: str | Path, backend: str = 'filesystem', cache_dir: str = '~/.stable_ssl/')[source]#

Download multiple files concurrently.

Example

import stable_ssl stable_ssl.data.bulk_download([

], “todelete”)

Parameters:
  • urls (Iterable[str]) – List of URLs to download

  • dest_folder (Union[str, Path]) – Destination folder for downloads

  • backend (str, optional) – Storage backend type. Defaults to “filesystem”.

  • cache_dir (str, optional) – Cache directory path. Defaults to “~/.stable_ssl/”.