I want to select the next sibling of a td
tag in a tr
element.
The tr
element is this:
<tr>
<td>Created On:</td>
<td>06/28/2018 06:32 </td>
</tr>
My Scrapy code looks like this: response.xpath("//text()[contains(.,'Created On:')]/following-sibling::td")
. But that gives me an empty list []
.
How do I select the next td
?