Created
February 5, 2015 20:32
-
-
Save matthutchinson/5283315102992286a149 to your computer and use it in GitHub Desktop.
Grab all http://poolside.fm tracks from SoundCloud with this one weird trick!
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
#!/bin/sh -x | |
# no python3 (pip3) or curl? use this | |
# brew install python3 curl | |
# https://github.com/flyingrub/scdl | |
# pip3 install scdl | |
curl -s http://poolsideapi2.herokuapp.com/tracks?p=2 | grep -o '"scUrl": ".*",$' | sed -E 's/("scUrl": "|",.*$)//g' | xargs -I 'url' scdl -l url --hidewarnings | |
# visit http://poolside.fm for general awesome-ness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment