fdhoff / cssselect2

CSS selectors for Python ElementTree

Home Page:https://cssselect2.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cssselect2: CSS selectors for Python ElementTree

cssselect2 is a straightforward implementation of CSS3 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, html5lib, etc.)

Unlike cssselect, it does not translate selectors to XPath and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect.

Quick facts:

About

CSS selectors for Python ElementTree

https://cssselect2.readthedocs.io/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 63.0%Language:HTML 36.6%Language:Shell 0.5%