2 ms·
Only on wellformed pages. There are many many many many many malformed pages on the internet. Even those that are created in 2013
by chewxy 14y ago
Only on wellformed pages. There are many many many many many malformed pages on the internet. Even those that are created in 2013
- ville 14y agoFortunately HTML5 defined a standard way to parse even broken HTML and that parser is implemented in html5lib package. You can use it also with lxml and even use "jQuery like" selectors with lxml.cssselect (http://lxml.de/cssselect.html http://lxml.de/cssselect.html)