Podcast catcher in Python

Someone Something fordhaivat at gmail.com
Sat Sep 12 19:25:49 EDT 2009


C shouldn't be very hard.
You just get the url of the file you want to connect to, then just use the
normal connect sequence and read the file and print it out to the UNIX
shell, then at the unix shell, just pipe it to an MP3. Or you could just do
it with FILE *.
On Sat, Sep 12, 2009 at 4:37 PM, Chuck <galois271 at gmail.com> wrote:

> On Sep 11, 9:54 pm, Chris Rebert <c... at rebertia.com> wrote:
> > On Fri, Sep 11, 2009 at 7:43 PM, Chuck <galois... at gmail.com> wrote:
> > > Does anyone know how I should read/download the mp3 file, and how I
> > > should write/save it so that I can play it on a media player such as
> > > Windoze media player?  Excuse my ignorance, but I am a complete noob
> > > at this.  I downloaded the mp3, and I got a ton of hex, I think, but
> > > it could've been unicode.
> >
> > urllib.urlretrieve():
> http://docs.python.org/library/urllib.html#urllib.urlretrieve
> >
> > Cheers,
> > Chris
>
> Thanks Chris!  I will play around with this.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090912/99958985/attachment-0001.html>


More information about the Python-list mailing list