diff --git a/twspace_dl/twspace_dl.py b/twspace_dl/twspace_dl.py index f973d88..c4c4d66 100644 --- a/twspace_dl/twspace_dl.py +++ b/twspace_dl/twspace_dl.py @@ -104,6 +104,9 @@ def download(self) -> None: if not shutil.which("ffmpeg"): raise FileNotFoundError("ffmpeg not installed") space = self.space + if os.path.exists(self.filename + ".m4a"): + logging.info("%s has already been downloaded", self.filename + ".m4a") + return self.write_playlist(save_dir=self._tempdir.name) state = space["state"]