Skip to main content

Lead generation scripts

Project description

Lead-Generation

The updated version of my outdated dirty clumsy and having shockingly high amount of stars repository on Python

Installation

pip install py-lead-generation

Pypi Link

OR

git clone https://github.com/Madi-S/Lead-Generation
cd Lead-Generation
python run.py

Quickstart

import asyncio
from py_lead_generation import GoogleMapsEngine, YelpEngine


async 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 algorithm
- 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 b prevented from going to spam as well

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_lead_generation-1.0.0.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

py_lead_generation-1.0.0-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page