def download(self): download(self.url, self.path)
def _download(self, url, path): self.logger.info('Downloading "%s" to "%s"', url, path) download_path = download(url, path) if download_path: self.downloaded_files.add(download_path)