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.
Download video also when archived (cli option) #15812
Comments
|
Not possible. Such option will break the whole point of download archive. If you want to log - do log not download archive. |
|
You have a valid point @dstftw, I came up with the following solution in case someone is interested. I archive and then append the archive to a log file before removing the archive file. npo-download() {
local tmp_archive="$(mktemp)"
local log_file="$HOME/youtube.log"
youtube-dl --download-archive "$tmp_archive" "$@"
cat $tmp_archive >> $log_file
rm $tmp_archive # optional
} |
I have not seen this feature in the man pages but it might be a feature already.
Is it possible use the archive option but have it download also when the video has been archived.
My reason for this is because I want to log what I have downloaded but also download if the video is not present.