Open NabiKAZ opened 6 years ago
Replay folders are not deleted because the script uses them to determine whether or not a replay has already been downloaded. I suppose it's a similar thing for live folders.
About live folders, deleted after stop it. But the reply folders not deleted after download video.
And also may be can check it with .json
file instead of the folder.
This project is no longer in development but you're free to fork it and modify the code according to your own wishes 🙂
do you can tell me which of line of code must be modify?
You can take a look at this area of code here: https://github.com/taengstagram/instagram-livestream-downloader/blob/master/livestream_dl/download.py#L431
And based on the information provided there add in the code to remove the folder after the download is complete
I thinks after download replay or live, can be deleted temp
..._replay_downloads
and..._live_downloads
folder. At the moment these folders are now empty.