Skip to content

Instantly share code, notes, and snippets.

@iamleot
Created April 27, 2014 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamleot/11345543 to your computer and use it in GitHub Desktop.
Save iamleot/11345543 to your computer and use it in GitHub Desktop.
sed(1) regular expression to parse http://soundcloud.com/*/tracks pages
sed -nE '/window.SC.bufferTracks.push/ s/.*"title":"([^"]*)".*"streamUrl":"([^"]*)".*/ftp -o "\1.mp3" "\2"/p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment