ParfiveDownloader#

class sunpy.data.data_manager.ParfiveDownloader[source]#

Bases: DownloaderBase

Concrete implementation of DownloaderBase using parfive.

Methods Summary

download(url, path)

Downloads a file.

Methods Documentation

download(url, path)[source]#

Downloads a file.

Parameters:
  • url (str) – URL of the file to be downloaded.

  • path (pathlib.Path or str) – Path where the file should be downloaded to.

Raises:

DownloaderError – DownloaderError is raised when download errors.