Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Automated Web Scraper

Full-Stack Web Scraping Platform with Performance Modeling

License Python FastAPI React MongoDB


Live at: Live Demo


📌 Overview

Automated Web Scraper is a full-stack web application that implements a structured and measurable web scraping pipeline.

It allows authenticated users to:

  • 🌐 Scrape structured data from websites
  • 📊 Measure runtime and memory usage
  • 📈 Calculate scraping efficiency
  • 📁 Export results as CSV
  • 🗂 Store scraping history in MongoDB

The system follows a clear:

Fetching → Extraction → Execution architecture model.


🏗 Architecture

flowchart TD

    A[React Frontend<br/>Vite + Tailwind] --> B[FastAPI Backend]

    B --> C[Authentication Layer<br/>JWT + Bcrypt]
    B --> D[Scraping Pipeline]

    D --> E[Fetch Stage<br/>Requests]
    D --> F[Extract Stage<br/>BeautifulSoup + lxml]
    D --> G[Execution Stage<br/>JSON + CSV Output]

    G --> H[Performance Engine<br/>Runtime + Memory + Efficiency]

    B --> I[MongoDB]
    I --> J[Users Collection]
    I --> K[Scraping History Collection]

    subgraph Frontend
        A
    end

    subgraph Backend Core
        B
        C
        D
    end

    subgraph Scraping Engine
        E
        F
        G
        H
    end

    subgraph Database
        I
        J
        K
    end
Loading

🧠 Architecture Explanation

1️⃣ Frontend Layer

  • Built using React + Vite

2️⃣ Backend API Layer

  • Built with FastAPI

📷 Application Screenshots

🔐 Authentication

Landing page

📊 Results & Metrics

Login page

🌐 Scrape Interface

Scrape Page


✨ Features

  • 🔐 JWT Authentication
  • 📊 Runtime Monitoring
  • 🧠 Memory Usage Tracking
  • 📈 Efficiency Ratio Calculation
  • 📁 CSV Export
  • 🗂 Scraping History Persistence
  • ⚙ Optional Selenium Fallback
  • 🛡 Structured API Error Handling
  • 🏗 Modular Backend Architecture

🌍 Deployment Strategy

Recommended production architecture:

Component Platform
Frontend Vercel
Backend Render
Database MongoDB Atlas

🛠 Tech Stack

  • Python
  • FastAPI
  • React (Vite)
  • MongoDB
  • BeautifulSoup
  • lxml
  • JWT Authentication

This is just the initial stage of this project ,it is not the final or complete version of it, We will be enhancing it with course of time.

If you feel there is a better direction to approach the idea , you can reach out to me , I am open to suggestions. 😊


If you like the idea , give it a star and keep watching this repo. Thanks 😁 !


👨‍💻 Author

Sayantan Dutta


📜 License

MIT License

About

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages