Re: Generating Filenames from Feeds

2013-03-14 Thread Steven D'Aprano
On Thu, 14 Mar 2013 11:19:18 -0700, Chuck wrote: >> Seriously, if you don't post a minimal code example that shows the >> problem and with a full traceback you are asking strangers to do magic >> tricks for your pleasure. > > I'm asking more for a better way of generating destination filenames, >

Re: Generating Filenames from Feeds

2013-03-14 Thread Chuck
> Seriously, if you don't post a minimal code example that shows the problem > and with a full traceback you are asking strangers to do magic tricks for > your pleasure. I'm asking more for a better way of generating destination filenames, not so much debugging questions. I only put my attem

Re: Generating Filenames from Feeds

2013-03-14 Thread MRAB
On 14/03/2013 15:38, Chuck wrote: HI all, I am trying to write a podcast catcher for fun, and I am trying to come up with a way to generate a destination filename to use in the function urlretrieve(url, destination). I would like the destination filename to end in a .mp3 extension. My first a

Re: Generating Filenames from Feeds

2013-03-14 Thread Joel Goldstick
On Thu, Mar 14, 2013 at 11:38 AM, Chuck wrote: > HI all, > > I am trying to write a podcast catcher for fun, and I am trying to come up > with a way to generate a destination filename to use in the function > urlretrieve(url, destination). I would like the destination filename to > end in a .mp

Generating Filenames from Feeds

2013-03-14 Thread Chuck
HI all, I am trying to write a podcast catcher for fun, and I am trying to come up with a way to generate a destination filename to use in the function urlretrieve(url, destination). I would like the destination filename to end in a .mp3 extension. My first attempts were parsing out the a