I
I
Igor Frol2021-10-20 14:30:35
Scrapy
Igor Frol, 2021-10-20 14:30:35

Why doesn't response.xpath work in Scrapy?

I'm trying to make a simple site parser crossroad dot ru. Making a request via shell

response.xpath('//div[@class="sc-jrAGrp kAEaPn"]/span[@class="product-card__link-text"]/text()').extract()

I want to parse product names.
Gives this result616ffe0eb9d69755073380.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question