import htmllib, urllib, formatter, sysdef parse(url, formatter): f = urllib.urlopen(url) data = f.read() f.close() p = htmllib.HTMLParser(formatter) p.feed(data) p.close()fmt = formatter.AbstractFormatter(formatter.DumbWriter(sys.stdout))parse("index.htm", fmt)
Name (required)
email (will not be published) (required)
Website