Skip to content

imneli/lead-capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 Lead Scrapper | Google Maps to Discord

License: MIT Node.js Discord Puppeteer

Automate lead collection from Google Maps and send them directly to your Discord server!


📋 Overview

This tool automates the process of scraping business information from Google Maps and sending it directly to Discord through webhooks. Perfect for lead generation and market research.

✨ Features

  • 🤖 Automated Google Maps scraping: Collects business data with ease.
  • 📱 Contact information: Extracts phone numbers and email addresses.
  • Ratings & reviews: Gathers ratings and the number of reviews.
  • 🌐 Website URLs: Captures business website links.
  • 📍 Maps locations: Provides direct links to Google Maps locations.
  • 💬 Discord integration: Sends collected data directly to your Discord server via webhooks.

🚀 Quick Start

  1. Clone the Repository

    git clone https://github.com/imneli/lead-capture.git
    cd lead-capture
  2. Install Dependencies

    npm install
  3. Set Up Environment Variables

    • Create a .env file in the Commands folder and add your Discord webhook URL:
    echo DISCORD_WEBHOOK_URL=your_webhook_url_here > Commands/.env
  4. Run the Script

node index.js

📁 Project Structure

Lead_Scrapper/
├── Commands/
│   ├── sendToDiscord.js
│   └── .env
├── index.js
└── results.json

📄 Results Format

[
  {
    "title": "Business Name",
    "phone": "Phone Number",
    "email": "Email Address",
    "stars": "Rating Score",
    "reviews": "Number of Reviews",
    "website": "Website URL",
    "link": "Google Maps URL"
  }
]

🤝 Contributing

Contributions are welcome! Please follow these steps:

1 - Fork the repository.
2 - Create a new branch (git checkout -b feature/AmazingFeature).
3 - Commit your changes (git commit -m 'Add some AmazingFeature').
4 - Push to the branch (git push origin feature/AmazingFeature).
5 - Open a pull request.

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

a simple script to capture leads for freelancers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors