https://github.com/madi-s/lead-generation
Python script, which empowers people with no programming background to generate robust leads on a mass scale. This repo will be compiled of various versatile techniques used in lead generation.
https://github.com/madi-s/lead-generation
chromedriver lead-generation leads leadscanner parser playwright python scraper web-crawler
Last synced: 22 days ago
JSON representation
Python script, which empowers people with no programming background to generate robust leads on a mass scale. This repo will be compiled of various versatile techniques used in lead generation.
- Host: GitHub
- URL: https://github.com/madi-s/lead-generation
- Owner: Madi-S
- License: mit
- Created: 2020-12-14T11:41:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-24T17:57:02.000Z (7 months ago)
- Last Synced: 2025-03-19T21:17:54.791Z (about 1 month ago)
- Topics: chromedriver, lead-generation, leads, leadscanner, parser, playwright, python, scraper, web-crawler
- Language: Python
- Homepage: https://pypi.org/project/py-lead-generation/
- Size: 9.67 MB
- Stars: 144
- Watchers: 4
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lead-Generation
The updated version of my outdated dirty clumsy with a shockingly high amount of stars repository on Python
# Installation
```bash
pip install py-lead-generation
```[Pypi Link](https://pypi.org/project/py-lead-generation)
OR
```bash
git clone https://github.com/Madi-S/Lead-Generation
cd Lead-Generation
cd archived
cd google-maps
python extractor.py
```OR to use the previous archived version
```bash
git clone https://github.com/Madi-S/Lead-Generation
cd Lead-Generation
python run.py
```# Quickstart
```python
import asyncio
from py_lead_generation import GoogleMapsEngine, YelpEngineasync def main() -> None:
q = input('Enter your search query: ').strip() or 'Barbershop'
addr = input('Enter the location you would like to search in: ').strip() \
or 'Paris'
zoom = float(input('[Optional] Enter google maps zoom: ').strip() or 12)engine = GoogleMapsEngine(q, addr, zoom)
await engine.run()
engine.save_to_csv()engine = YelpEngine('Pizza', 'Mexico, Pampanga, Philippines')
await engine.run()
engine.save_to_csv('pizza_leads.csv')if __name__ == '__main__':
asyncio.run(main())
```# Current functionality
- Parse Google Maps
- Parse Yelp
- Export collected data to a CSV file# Expectations of this project:
- Parse Google Maps and Yelp for telephone number, email, address, and other information by given keyword
- Somehow parse search results in Google Search for the same information using regex or other algorithms
- Export all parsed data to CSV or Excel
- For parsed emails send a message, which will be prevented from going to spam
- For parsed telephone numbers send an SMS, which will be prevented from going to spam as well