cssselect.readthedocs.io - cssselect: CSS Selectors for Python — cssselect 1.2.0 documentation

Example domain paragraphs

cssselect is a BSD-licensed Python library to parse CSS3 selectors and translate them to XPath 1.0 expressions.

XPath 1.0 expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document.

Find the cssselect online documentation at https://cssselect.readthedocs.io .