gammagl.data.download_url

class download_url(url: str, folder: str, log: bool = True, filename: str | None = None)[source]

Bases:

Downloads the content of an URL to a specific folder.

Parameters:
  • url (str) – The url.

  • folder (str) – The folder.

  • log (bool, optional) – If False, will not print anything to the console. (default: True)

  • filename (str, optional) – The name of the file.