Skip to content

Instantly share code, notes, and snippets.

@cvengler
Created November 1, 2018 20:23
Show Gist options
  • Save cvengler/644bb9de45f287ea0538fd3675a0e127 to your computer and use it in GitHub Desktop.
Save cvengler/644bb9de45f287ea0538fd3675a0e127 to your computer and use it in GitHub Desktop.
Youtube to MP3

README

You need youtube-dl and ffmpeg.

Usage

ytmp3.sh <video url>
#!/bin/bash
youtube-dl --extract-audio --audio-format mp3 $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment