Answer the question
In order to leave comments, you need to log in
How to use Jsoup to take only the first layer of divs??
How to take only the first layer, without child divs.
For example, there is this html code:
<div class="1">
<div class="1">...</div>
<div class="2">...</div>
</div>
<div class="2">
<div class="1">...</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question