An open API service indexing awesome lists of open source software.

https://github.com/edgar-code-repository/spring-boot-scraping-with-jsoup

Application that retrieves info about countries by scraping data from World Bank, United Nations and Wikipedia.
https://github.com/edgar-code-repository/spring-boot-scraping-with-jsoup

Last synced: 6 months ago
JSON representation

Application that retrieves info about countries by scraping data from World Bank, United Nations and Wikipedia.

Awesome Lists containing this project

README

          

SCRAPING DATA USING JSOUP LIBRARY
---------------------------------------------------------------------------

Spring Boot application that retrieves info about countries by scraping data
from World Bank, United Nations and Wikipedia.

---------------------------------------------------------------------------

Jsoup maven dependency added in pom.xml file:

```

org.jsoup
jsoup
1.10.2

```

---------------------------------------------------------------------------

A list with country members of United Nations is retrieved from this URL:

```
https://www.un.org/en/about-us/member-states

```

In the previous URL there is a list with 193 countries:

![CountriesList](screenshots/Member_States_United_Nations.png)

---------------------------------------------------------------------------

Once the application runs, the list of countries is retrieved and stored
in an H2 database:

![tbl_country](screenshots/tbl_country_in_H2.png)

---------------------------------------------------------------------------