youtube-dl – saving both audio and video without keeping intermediate files seems impossible
Posted by jpluimers on 2017/09/14
Just in case someone has a better alternative than youtube-dl alias:
alias youtube-dl-audio-and-video='youtube-dl --keep-video --extract-audio --audio-quality 0 --audio-format mp3'
It extracts the audio and keeps the video.
The result is that also all intermediate downloads are being kept.
So even after studying the README extensively the only alternative seems to be a double download like this:
youtube-dl-audio-and-video() { youtube-dl --extract-audio --audio-quality 0 --audio-format mp3 $1; youtube-dl $1; }
–jeroen






Leave a comment