CIOS Audio Core is the infrastructure and subsystem in Collective Intelligence Operation System. It is a cross platforms audio abstract interface, supports including Mac OS X, Linux, Android, iPhone OS and Windows7.
This is a simple Python script to save streaming mp3 data.
I've tested this script with my.mp3.com and www.shoutcast.com.
See homepage for setup instructions under GNU/Linux and Windows.