Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I've implemented a python script that invokes youtube-dl in a loop. I recognized that files are added to the download archive even if they weren't successfully downloaded because of no space left on the target device.
I'm using the latest version of youtube-dl from pypi
youtube_dl-2014.10.05.2-py2.7.egg.Download Archive:
Edit 2:
On the other hand, other error-nous downloads do not show up in the download archive:
The Youtube ID "B9XdGlnLuhY" isn't registered in the download archive.
Edit 1:
In my oppinion the reason for the behavior can be found here: https://github.com/rg3/youtube-dl/blob/c8e390c2b050e5fbe0a145ad4b621b2496020bab/youtube_dl/YoutubeDL.py#L1054
Youtube-Dl adds the download to the download archive either way. Regardless of whether it has been downloaded or not.
The name "download archive" implicates that only downloads that have been downloaded are in there. There should be at least an option to add only files that have been successfully downloaded.
Edit 3:
I have problemes reproducing this issue. I'll have a look at it.