How it works

Underneath the covers, Scrapy builds its selectors on top of lxml. It offers a smaller and slightly simpler API, which is similar in performance to lxml.

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.