A lightweight web-scraping tool that extracts Images, Links, and Videos from any public webpage. The project contains:
- ✅ Spring Boot Backend for server-side scraping
- ✅ HTML/CSS/JS Frontend UI
- ✅ Displays images, links, and videos cleanly in the browser
- ✅ Simple, clean, and minimal UI
- All images (
<img src="">) - All links (
<a href="">) - All videos (
<video>or embedded sources)
- Clean UI
- Section-wise display
- Automatic rendering using
.map() - Fully responsive
-
Spring Boot REST API
-
/api/scrape?url=...endpoint -
Returns JSON:
{ "images": [], "links": [], "videos": [] }
web-scraper/
│
├── backend/ # Spring Boot App
│ ├── controller/
│ ├── service/
│ ├── ScraperApplication.java
│
├── frontend/
│ └── index.html # Your UI
│
└── README.md
https://github.com/vivekbargude/Web_Scrapper_Using_Java_Jsoup.git
cd Web_Scrapper_Using_Java_Jsoupmvn installmvn spring-boot:runThis starts the backend on:
http://localhost:8080
Simply open the index.html in any browser.
Or use Live Server:
Shows all scraped images displayed as thumbnails in grid layout.
Shows clickable links extracted from the page.
Shows playable video elements or extracted video URLs.
GET http://localhost:8080/api/scrape?url=https://example.com
{
"images": ["https://example.com/a.png"],
"links": ["https://example.com/about"],
"videos": []
}

