how to use xpath in scrapy code example Example: scrapy xpath contains class //div[contains(concat(' ',normalize-space(@class),' '),' foobar ')]