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.
- 🤖 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.
-
Clone the Repository
git clone https://github.com/imneli/lead-capture.git cd lead-capture -
Install Dependencies
npm install
-
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
-
Run the Script
node index.jsLead_Scrapper/
├── Commands/
│ ├── sendToDiscord.js
│ └── .env
├── index.js
└── results.json[
{
"title": "Business Name",
"phone": "Phone Number",
"email": "Email Address",
"stars": "Rating Score",
"reviews": "Number of Reviews",
"website": "Website URL",
"link": "Google Maps URL"
}
]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.
This project is licensed under the MIT License. See the LICENSE file for details.