Created
May 27, 2025 15:17
-
-
Save documentprocessing/a604961343fcd87de343ff53c5cfcba8 to your computer and use it in GitHub Desktop.
Parse HTML in Java using jsoup API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String html = "<html><head><title>First parse</title></head>" | |
| + "<body><p>Parsed HTML into a doc.</p></body></html>"; | |
| Document doc = Jsoup.parse(html); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment