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.