title: Scrapy grabbing elements too deep in table
body: <p>I'm trying to scrape a table with Scrapy, and have come across an issue in which I'm getting too many child nodes because of the structure of the table.</p>
  
  <p>For instance, there is a table in a td later in the table, sort of like this:</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
               Text I want
          &lt;/td&gt;
          &lt;td&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                         Text I do not want
                      &lt;/td&gt;
                  &lt;/tr&gt;
          &lt;/td&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>So when I tell it to grab: </p>
  
  <pre><code>td[1]/text()
  </code></pre>
  
  <p>It grabs the text in the first td of each tr — which is exactly what I want — but some of the tds have their own table! Don't ask me why they built this thing this way, or why there is literally not a class or id to be found any deeper than the table level itself, but that's how it is. So I'm also returning the text in the first td inside the table... that's in the later tds that I don't want (yet).</p>
  
  <p>Without ids or classes, how can I get more specific about wanting only that first td's text and not anything that's any deeper in the table?</p>