![Python Web Scraping Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/240/36700240/b_36700240.jpg)
上QQ阅读APP看书,第一时间看更新
How it works
lxml converts the CSS selector you provide to XPath, and then performs that XPath expression against the underlying document. In essence, CSS selectors in lxml provide a shorthand to XPath, which makes finding nodes that fit certain patterns simpler than with XPath.