MCPcopy Index your code
hub / github.com/arlene3006/web-Scrapper

github.com/arlene3006/web-Scrapper @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2 symbols 3 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🌐 Web Scraper – Java Mini Project

📌 Overview

This project is a Java-based Web Scraper that extracts specific information from websites by fetching and parsing HTML content. It helps beginners understand how web scraping works, how websites are structured, and how data can be collected programmatically.


🎯 Objectives

  • Learn how HTTP requests work
  • Understand HTML DOM structure
  • Extract useful data from web pages
  • Handle invalid URLs and connection errors
  • Store scraped data for later use

⚙️ Features

  • User-friendly command-line interaction
  • Accepts a website URL as input
  • Validates the entered URL
  • Fetches HTML content from the webpage
  • Parses HTML to extract required data (headings, links, text, etc.)
  • Displays extracted data clearly
  • Option to save extracted data into a file
  • Basic error and exception handling

🧑‍💻 User Interaction Flow

  1. User starts the application
  2. Program displays a welcome message
  3. User enters the website URL
  4. System validates the URL and checks connectivity
  5. HTML content is fetched
  6. Required data is extracted
  7. Extracted information is displayed or saved

🛠️ Technologies Used

  • Java
  • JSoup Library – for HTML parsing
  • HTTP Connections
  • File Handling


🚀 How to Run

  1. Clone the repository
  2. Open the project in any Java IDE
  3. Add JSoup library to the project
  4. Run the Main.java file
  5. Enter a valid website URL when prompted

📈 Learning Outcomes

  • Practical understanding of web scraping
  • Improved Java programming skills
  • Experience with third-party libraries
  • Better handling of real-world data

Core symbols most depended-on inside this repo

main
called by 0
src/Main.java

Shape

Class 1
Method 1

Languages

Java100%

Modules by API surface

src/Main.java2 symbols

For agents

$ claude mcp add web-Scrapper \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact