Created
April 27, 2014 13:26
-
-
Save iamleot/11345543 to your computer and use it in GitHub Desktop.
sed(1) regular expression to parse http://soundcloud.com/*/tracks pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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