-
Notifications
You must be signed in to change notification settings - Fork 0
Lead Scraper is a Flask-based web app designed to extract key lead data from any provided website URL. The app automatically scrapes email addresses and phone numbers from public-facing web content and exports the results directly into a CSV file for easy lead generation, prospecting, or business research.
License
Couchtr26/Lead_Scraper
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
🧰 Contact Information Web Scraper This project is a Flask-based web application that extracts contact information (emails and phone numbers) from any provided URL. It uses a simple front-end form to scrape, parse, and save extracted contact data directly into CSV files for easy export. 🚀 Features Web-based interface for submitting URLs to scrape Extracts: Emails Phone numbers Uses BeautifulSoup and regular expressions for parsing Exports scraped data to CSV via pandas Includes SQLAlchemy models for potential future database integration ⚙ How It Works User inputs a URL into the form. The scraper.py module fetches and parses the webpage. Contact data (emails and phone numbers) is extracted using regex. Data is formatted into a Pandas DataFrame and saved as CSV. Results are displayed directly in the browser (results.html). 🧮 Tech Stack Python Flask BeautifulSoup (bs4) Requests Regular Expressions Pandas SQLAlchemy (future DB expansion) 📦 Installation 1️⃣ Clone Repository bash Copy Edit git clone <your-repo-url> cd <your-repo-directory> 2️⃣ Install Dependencies bash Copy Edit pip install flask requests beautifulsoup4 pandas sqlalchemy 3️⃣ Run Application bash Copy Edit python app.py Visit http://127.0.0.1:5000/ in your browser to use the app. 📝 File Structure app.py — Flask application handling routing, scraping, and CSV exporting scraper.py — Core scraping logic using requests and BeautifulSoup pandas.py — CSV export utility function models.py — SQLAlchemy database models (future DB expansion)
About
Lead Scraper is a Flask-based web app designed to extract key lead data from any provided website URL. The app automatically scrapes email addresses and phone numbers from public-facing web content and exports the results directly into a CSV file for easy lead generation, prospecting, or business research.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published