I'm using Nutch to crawl website and currently writing a plugin. Jaunt 1.0.0.1 is used to Parse HTML. For example, I have a row
Element infoBooksItem = body.findFirst("<div class=info_books_item>");
Which gets and error, when on page is no <div class=info_books_item>
.
Currently I'm looking at Jaunt JavaDocs, but can't figure out how to check, is there such element or not.