- Python Web Scraping Cookbook
- Michael Heydt
- 53字
- 2021-06-30 18:44:03
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/