I am scraping a website with following schema:
<div class="text">
<div id="id-elem" class="class-one classtwo classthree classfour class-five">
</div>
Here is the HTML code I want to scrape
</div>
So my SelectorHTML was "div.text" and I want to exclude the id-elem, either by id or by any of the other 5 classes. I have tried all combinations like so:
div.text:not(.class-one)
div.text:not(.classtwo)
div.text:not(#id-elem)
div.text:not(#id-elem.class-one.classtwo.classthree.classfour.class-five)