mmm I'm a newbie with python.
I did this but don't work:
class mvbHTMLParser(htmllib.HTMLParser):
def __init__(self, formatter, verbose=0):
htmllib.HTMLParser.__init__(self,formatter,verbose)
self.imglist = []
def handle_image(self,src,alt,*args):
self.imglist.append(src)
class PreservingStringIO(StringIO.StringIO):
def close(self):
pass
file = PreservingStringIO()
f = formatter.AbstractFormatter(formatter.DumbWriter(file))
p = mvbHTMLParser(f)
p.feed(html)
p.close()
print file.getvalue()
---- i will try some things
--
http://mail.python.org/mailman/listinfo/python-list