I am scraping an HTML page using jsoup and I want to stop scraping HTML when I see this HTML tag:
<li class="hide" filter-type="aspect" data-unique="false" data-searchable="false" tab-val="SCREEN_SIZE" aspect-key="Screen%20Size">
I tried something like this:
if(e.html().matches("li[class=hide]"))
but it doesn't work.
Aucun commentaire:
Enregistrer un commentaire