feat: lead-scraper template #86
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes the lead-scraper template that searches for business contacts on google maps, and returns the:
all built with python and browser-use.
Loom video
https://www.loom.com/share/40681581cf8c4684a163aad32a8a9542
Note
Introduces a ready-to-deploy Python template for scraping local business leads from Google Maps with
browser-useon Kernel.pkg/templates/python/lead-scraperwithmain.pyimplementingscrape-leads(Browser UseAgent, Kernel browser session, JSON output),models.py(PydanticScrapeInput,BusinessLead,ScrapeOutput),formaters.py(robust parsing of JSON/markdown intoBusinessLead),pyproject.toml(deps),.env.example, and template-specific_gitignoreREADME.mdto list the newlead-scrapertemplate and include a create command example (kernel create --name my-lead-scraper --language python --template lead-scraper)Written by Cursor Bugbot for commit 0cfb74d. This will update automatically on new commits. Configure here.