News for hackers. Stuff that matters.
Re:Show HN: YouTube-dl wrapper with added features to easily... by rwmj on Sunday January 19, 2020 @01:30PM (#22092986)
I have a file under ~/bin called youtube-mp3 which has this one-liner:

    exec $HOME/d/youtube-dl/youtube-dl -t -x --audio-format=mp3 "$@"
(Edit: I'm sure this script does a lot more, but making ytdl download only the audio is fairly simple. Note the above command converts the file to mp3 which some people may not want to do because it's lossy.)
Re:Show HN: YouTube-dl wrapper with added features to easily... by krick on Sunday January 19, 2020 @01:50PM (#22093106)
What is -t?
Re:Show HN: YouTube-dl wrapper with added features to easily... by rwmj on Sunday January 19, 2020 @03:52PM (#22093981)
It (used to) cause youtube-dl to name downloaded videos after the title. Apparently it was needed in older versions of youtube-dl but is now ignored.