how to count and extract images

2005-10-23 Thread Joe
I'm trying to get the location of the image uisng start = s.find('a href=somefile') + len('a href=somefile') stop = s.find('Save File/a/B', start) fileName = s[start:stop] and then construct the url with the filename to download the image which works fine as cause every image has the Save File

Re: how to count and extract images

2005-10-23 Thread Alex Martelli
Joe [EMAIL PROTECTED] wrote: I'm trying to get the location of the image uisng start = s.find('a href=somefile') + len('a href=somefile') stop = s.find('Save File/a/B', start) fileName = s[start:stop] and then construct the url with the filename to download the image which works fine

Re: how to count and extract images

2005-10-23 Thread Mike Meyer
Joe [EMAIL PROTECTED] writes: start = s.find('a href=somefile') + len('a href=somefile') stop = s.find('Save File/a/B', start) fileName = s[start:stop] and then construct the url with the filename to download the image which works fine as cause every image has the Save File link and I can