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.
- Host: GitHub
- URL: https://github.com/edgar-code-repository/spring-boot-scraping-with-jsoup
- Owner: edgar-code-repository
- Created: 2023-01-15T22:32:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T04:30:33.000Z (over 3 years ago)
- Last Synced: 2025-01-23T04:29:27.879Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 799 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:

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

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