Skip to content

Instantly share code, notes, and snippets.

View thanthese's full-sized avatar

Stephen Mann thanthese

View GitHub Profile
@thanthese
thanthese / download-mp3
Created June 21, 2017 01:53
Downloads the audio of a youtube video and converts to an .mp3 given a youtube URL.
#!/usr/bin/env bash
# Downloads the audio of a youtube video and converts to an .mp3 given a
# youtube URL.
if [ $# -eq 0 ]; then
echo "No arguments provided. Give full youtube URL."
exit 1
fi