I am using scrapy and want to get all text for Child Node . I am below command in scrapy for getting the text
response.xpath('//div[@class="A"]/text()').get()
I am expecting result :"1 -120u"
<div class="A">
<span id="B" class="C">
<span>1 </span>-110o</span>
<span id="B">
<span>1 </span>
-120u</span>
</div>
I have also tried below things that I discovered on stackoverlow
response.xpath('//div[@class="A"]/text()').getall()
response.xpath('//div[@class="A"]/text()').extract()
response.xpath('//div[@class="A"]//text()').get()
response.xpath('//div[@class="A"]//text()').getall()
response.xpath('//div[@class="A"]/text()').extract()
