I make a parser for one webpage using Jsoup, and I need it to get the text that is between the <h5> and </h5> tags. How to do it?

The html-code in the form of a screenshot, because there were problems with its insertion:

a busy cat

    1 answer 1

     for (Element headline : doc.getElementsByTag("h5")) { System.out.println(headline.text()); }