title: Scrapy - Get all data within selector
body: <p>If I have some HTML in the response that looks like:</p>
  
  <pre><code>&lt;body&gt;
      Body text
      &lt;div&gt;
          Div text
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>If I do <code>response.xpath('//body/text()').extract()</code> I will only get <code>[Body text]</code></p>
  
  <p>I want to get <strong>everything</strong> inside <code>&lt;body&gt;</code> including the tags i.e. this whole thing:</p>
  
  <pre><code>Body text
  &lt;div&gt;
      Div text
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I accomplish that?</p>
  
  <p>Thank you.</p>