Answer the question
In order to leave comments, you need to log in
How to make scrapy collect exactly what the xpath highlights?
Example:
page silvann.ru/shop/mebel-dlya-gostinoj-shop/stenki/de...
I would like to save manufacturing options (right column, between name and price).
I write xpath //div[@class='width50 floatright']/div/p[*]/text()
and what I need is highlighted in FirePath.
But in the collected data I see only "Manufacturing option 1"
that is, up to the tag
.
How to make scrapy collect exactly what the xpath highlights?
Or in the process of parsing everything needs to be
cut out? How?
Answer the question
In order to leave comments, you need to log in
//div[@class="product-additional-info"]/p[position()>2]/text()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question