What jsoup does
doc.select("div.price") returns matching elements, and you read their text or attributes from there. It also tidies malformed markup and can sanitize untrusted HTML. For straightforward extraction from static pages, it's concise and fast.