torch_geometric.data.download_url

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

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 filename of the downloaded file. If set to None, will correspond to the filename given by the URL. (default: None)