I am new to jython and scrapy, but I am impressed by the capabilities that is has. My question is, what is the best way to extract data when the XPaths are the same?
For example:
<tr>
<td>
<a href="/user/Bob">Bob Job</a>
</td>
<td>hi</td>
<td>280.0</td>
</tr>
I need to scrape the information from all 3 td fields. I use firebug to extract the XPath which displays my XPath as
/html/body/table[2]/tbody/tr/td[2]/div/table/tbody/tr[2]/td[3]
what is the best way to extract data when the XPaths are the same? I may only need data from td[1] and td[3].