Any equivalent to Ruby's 'hpricot' html/xpath/css selector package?
Bruno Desthuilliers
bruno.42.desthuilliers at websiteburo.invalid
Mon Dec 29 05:13:42 EST 2008
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
More information about the Python-list
mailing list