Nushell CLI command to download highest quality opus audio file
I added to my nushell configuration:
A Nushell alias command to download the highest quality Opus audio into a .opus
file.
# Download highest quality Opus audio as/into .opus file
def "dl opus" [url: string] {
yt-dlp --extract-audio --audio-quality 0 --audio-format opus $"($url)"
}
Usage:
dl opus <url>