title: How can I select the content of tag html with css selector?
body: <p>I have a problem about the css selector. I want to select content of div.main-list in the pages which have not h3.subcategory-heading but not all pages.</p>
  
  <p>for exemples:
  page1.html:</p>
  
  <pre><code>&lt;h3 class="subcategory-heading"&gt;BOOTS&lt;/div&gt;
  &lt;p&gt;add&lt;/p&gt;
  &lt;span&gt;.....&lt;/span&gt;
  .
  .
  &lt;div class="main-list"&gt;list of product&lt;/div&gt;
  </code></pre>
  
  <p>page2.html:</p>
  
  <pre><code>&lt;p&gt;add&lt;/p&gt;
  &lt;span&gt;.....&lt;/span&gt;
  .
  .
  &lt;div class="main-list"&gt;list of product&lt;/div&gt;
  </code></pre>
  
  <p>I want that the programme return content of div.main-list of page2.html but not div.main-list page1.html</p>