What jsoup does
doc.select("div.price") returns every matching element, and you read each one's text or attributes. It also cleans up broken markup and can sanitize untrusted HTML - stripping out tags that could be unsafe. For pulling data from static pages, it is short to write and fast to run.