Skip to content

Instantly share code, notes, and snippets.

@mperlet

mperlet/yt2mp3.sh

Created Aug 23, 2017
Embed
What would you like to do?
Convert Youtube-Videos or Playlists to mp3
#!/bin/bash
# Example: $ yt2mp3 "https://www.youtube.com/playlist?list=PL63F1E17EE312CC7D"
function yt2mp3 () {
youtube-dl -i -t --extract-audio --audio-format mp3 "$1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.