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.
[Youtube] Video is downloaded and then deleted #20932
Comments
|
As clearly seen from the log the downloading finished without any issue and does not demonstrate problem described. |
|
The log does indicate that the video is downloaded, however when observing the progress via file explorer, the video is downloaded and then disappears. I've been testing the options that I have one by one and I think it might be due to --add-metadata. I'm still running it more times to see it is indeed --add-metadata, but when using the options in the logs above, the issue does occur quite often. |
I have managed to get the issue to occur all the time. Problem is reproducible with this command Addition options are in a config file that contains the options below.
which are also documented in the log above. |
|
As already said youtube-dl processed everything as expected. This has nothing to do with youtube-dl and may be caused by 3rdparty AV or file sync software. |
Checklist
Verbose log
Description
I've had this issue happen on multiple Youtube channels while trying to archive them. This appears to occur randomly and to random videos. When I attempt to download an entire channel, I've observed that youtube-dl will download the video, the description, the thumbnail, and the json file and then once it finishes merging the video, it will delete it leaving behind only the description, the thumbnail, and the json file. I've also notice that the video will still be recorded as being already downloaded via --download-archive. Upon deleting the file that contains the video IDs, youtube-dl does detect that there the video has not been downloaded and will download it and not does delete it like it did the first time.
For the log above, I chose a small channel with only 4 videos for anyone to attempt to reproduce. The log is also for a run in which I noticed this issue. This has occured for multiple channels.