title: scrapy scrape html source code
body: <p>I'm using scrapy to crawl and scrape a website. I need the whole html instead of components. We can easily extract the component using xpath selectors but is there any method to extract the whole html block for a given class. For example in the below html code, i need the exact html source code of the whole div block prod-basic-info.  Is there anyway i can do this ? </p>
  
  <pre><code>&lt;div class="block prod-basic-info"&gt;
   &lt;h2&gt;Product information&lt;/h2&gt;
   &lt;p class="product-info-label"&gt;Category&lt;/p&gt;
    &lt;p&gt;
     &lt;a href="xyz.html"&lt;/a&gt;
   &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>