I'm tired of typing in
Code:
youtube-dl -x --audio-stream (xxx)
and pasting the URL for the video I want to (download the audio from) in. I have typo'd all kinds of things before the paste-in step, and I really want to get past that, too. I want to write a script (or a function to shoehorn into .bash_aliases) that would make it easier and eliminate the chance for typos.
Two things I'd like to include in such a script or function:
* The option to download in .m4a as well as .wav and .mp3 (using the youtube-dl code for that format in video X or Y)
* The option to keep the original video (-k option in youtube-dl)
Does anyone here know youtube-dl and bash scripting enough to help me out? I'd rather not go to an all-Linux forum to post about this.
SOE