Kenneth McDonald a écrit :
Ruby has a package called 'hpricot' which can perform limited xpath queries,

ElementTree ? (it's in the stdlib now)

and CSS selector queries.

PyQuery ?
http://pypi.python.org/pypi/pyquery

However, what makes it really useful is that it does a good job of handling the "broken" html that is so commonly found on the web.

BeautifulSoup ?
http://pypi.python.org/pypi/BeautifulSoup/3.0.7a

possibly with ElementSoup ?
http://pypi.python.org/pypi/ElementSoup/rev452

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to