Extracting web data from a URL using JSoup
A large amount of data, nowadays, can be found on the Web. This data is sometimes structured, semi-structured, or even unstructured. Therefore, very different techniques are needed to extract them. There are many different ways to extract web data. One of the easiest and handy ways is to use an external Java library named JSoup. This recipe uses a certain number of methods offered in JSoup to extract web data.
In order to perform this recipe, we will require the following:
- Go to https://jsoup.org/download, and download the
jsoup-1.9.2.jarfile. Add the JAR file to your Eclipse project an external library.
- If you are a Maven fan, please follow the instructions on the download page to include ...