saving streaming audio to disk

Tuang tuanglen at
Thu Aug 5 10:36:33 CEST 2004

Given a URL for an MP3 audio stream, how could I write a little
utility that would start the stream flowing, capture it to a disk
file, and then disconnect from the stream? I'm imagining that, for
example, if I save an hour-long chunk taken out of an MP3 audio
stream, I would get an hour-long MP3 file on my hard drive.

I'd prefer to use Python, but I'm not sure where to start.

Thanks for any tips.

More information about the Python-list mailing list