Lead-Generation
The updated version of my outdated dirty clumsy with a shockingly high amount of stars repository on Python
Installation
pip install py-lead-generation
OR
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
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 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
Release files for py-lead-generation 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_lead_generation-1.0.1.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_lead_generation-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.8 kB
Release files / py_lead_generation-1.0.1.tar.gz
| Download URL | py_lead_generation-1.0.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a3d1171001c377956bf814b4e53ecaa8e53e318fdb569b5efa584208afb7a6a
|
|
BLAKE2b-256 checksum How to use checksums |
24b874de8a9d87d5badcea2c383d52046d84791c9f31c041558eeefc20c1d3db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.0
|
Release files / py_lead_generation-1.0.1-py3-none-any.whl
| Download URL | py_lead_generation-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60c20c52593f141fb8a6a8417befd1c8d44bb5e15efba33116beb3e489499d18
|
|
BLAKE2b-256 checksum How to use checksums |
cfa3901dae18a7f706c9bbe29643213d108dd3215e0404f3b3330d677d70c963
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.0
|