title: How to select next node using scrapy
body: <p>I have html looks like this:</p>
  
  <pre><code>&lt;h1&gt;Text 1&lt;/h1&gt;
  &lt;div&gt;Some info&lt;/div&gt;
  &lt;h1&gt;Text 2&lt;/h1&gt;
  &lt;div&gt;...&lt;/div&gt;
  </code></pre>
  
  <p>I understand how to extract using scrapy information from h1:</p>
  
  <pre><code>content.select("//h1[contains(text(),'Text 1')]/text()").extract()
  </code></pre>
  
  <p>But my goal is to extract content from <code>&lt;div&gt;Some info&lt;/div&gt;</code></p>
  
  <p>My problem is that I don't have any specific information about div. All what I know, that it goes exactly after <code>&lt;h1&gt;Text 1&lt;/h1&gt;</code>. Can I, using selectors, get NEXT element in tree? Element, that situated on the same level in DOM tree?</p>
  
  <p>Something like:</p>
  
  <pre><code>a = content.select("//h1[contains(text(),'Text 1')]/text()")
  a.next("//div/text()").extract()
  Some info
  </code></pre>