Skip to content

Instantly share code, notes, and snippets.

@matthutchinson
matthutchinson / poolsider
Created February 5, 2015 20:32
Grab all http://poolside.fm tracks from SoundCloud with this one weird trick!
#!/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