Opinionated wrapper around youtube-dl yt-dlp to easily download audio when using the fish shell.
All downloads get saved as MP3 in the $HOME/Music
directory, with a filename from the content's title.
Works with any yt-dlp supported source.
Install with your favourite fish package manager, such as fisherman or oh-my-fish
# Install with fisher v4 or v2
fisher install dideler/dl.fish
# Install with fisher v3
fisher add dideler/dl.fish
# Install with oh-my-fish
omf install https://github.com/dideler/dl.fish
dl "https://www.youtube.com/watch?v=hC8CH0Z3L54"
At the time of writing (2018-07-22), youtube-dl can extract media from 750+ different sources, its man page is ~3000 lines long, its help output is ~300 lines long, and it has ~120K lines of code.
But 99% of the time, I use it for dowloading music, and got tired of its complicated API and configuration.
This is an opinionated wrapper to download audio as MP3 with a good enough filename to a specific directory.