Have you looked at beautiful soup? http://www.crummy.com/software/BeautifulSoup/
antonio_wn8 schrieb: > Hi all, > I have a need to read and parse a table in HTML page. > > I’m using the following script: > http://trac.davidgrant.ca/browser/src/python/misc/siteuptime/TableParser.py > > It works fine aside from link in href. > > Example: > > String to parse: > <tr><td><a href='vaffa.html'>elog</a></td><td>normal text</td></tr> > > Output: > [[['elog', 'normal text']]] > > as you can see it misses the info about href... > how can get this information 'vaffa.html'? -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- http://mail.python.org/mailman/listinfo/python-list