I am learning Jsoup by trying to scrap all the p tags, arranged by title from wikipedia site. I can scrap all the p tags between h2, from the help of this question: extract unidentified html content from between two tags, using jsoup? regex? by using but I can’t scrap it when there is a <div> between them. Here is