T
T
tispoint2016-05-06 11:06:39
XPath
tispoint, 2016-05-06 11:06:39

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

1 answer(s)
I
Igor Nikolaev, 2016-05-06
@nightvich

//div[@class="product-additional-info"]/p[position()>2]/text()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question