Python Web Scraping Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

Because CSS selectors utilize XPath under the covers, there is overhead to its use as compared to using XPath directly. This difference is, however, almost a non-issue, and hence in certain scenarios it is easier to just use cssselect.

A full description of CSS selectors can be found at: https://www.w3.org/TR/2011/REC-css3-selectors-20110929/