wget man page (or more sensibly, the cheat.sh page for wget)
change .mp3 to whatever extension you want
.mp3
wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off $URL