0

I am using scrapy to extract text from a td element from this site.

response.xpath('//*[@id="content"]/div/div/div/div/div/div/div/ol/li[2]/strong/table/tbody/tr[2]/td[2]/text()').get() 

element

<td align="'centre" width="83" valign="bottom">Delhi</td>

But it is returning blank.

How can I get the text from a tag when align, width are defined?

0 Answers0