I want to extract numbers from each table row using Scrapy.

```
     <tr>  
        <td class="legend left value">1</td>
        <td colspan="4" class="legend title">Corners</td>
        <td class="legend right value">5</td>
      </tr>
      <tr>  
        <td class="legend left value">2</td>
        <td colspan="4" class="legend title">Shots on target</td>
        <td class="legend right value">8</td>
      </tr>
      <tr>  
        <td class="legend left value">3</td>
        <td colspan="4" class="legend title">Shots wide</td>
        <td class="legend right value">8</td>
      </tr>
      <tr>  
        <td class="legend left value">14</td>
        <td colspan="4" class="legend title">Fouls</td>
        <td class="legend right value">14</td>
      </tr>
      <tr>  
        <td class="legend left value">2</td>
        <td colspan="4" class="legend title">Offsides</td>
        <td class="legend right value">4</td>
      </tr>

```

I have tried many different versions of the code below but till now nothing has returned anything, with no errors being given.

P.S this is just a sample of what I will have later as part of the testing.

```
corners = hxs.xpath("//tbody/tr/td[contains(., 'Corners')]")
stats ["corners"] = corners.xpath("../td[@class = 'legend right value']/text()").extract()

```

Does anyone know what am I doing wrong?