How to automate your sale leads

DEAN Logo

Generating Leads for Your Startup Using Google Dorking

This is a simple, straightforward way to generate some (potentially worthwhile) leads for your startup.

I’m contemplating charging for this service but who cares.

Through the beauty of Google Dorking, you can use public registries of information to tailor advanced search results. If you’re interested in curating a list of potential people that have a URL attached to their usernames, you can do so through this, or if you’re just looking for people in a specific region earning less/more than $X, you can do that too. Doesn’t matter to me.

Would be a bit unfair for me to share the code stack since this is for my project, but you can architect it like this:

import re
import time
from googleapiclient.discovery import build

api_key = ""  # Add your API Key here
search_engine_id = ""  # Add your Search Engine ID here

def google_search(query, api_key, search_engine_id, start):
    service = build("customsearch", "v1", developerKey=api_key)
    result = service.cse().list(q=query, cx=search_engine_id, start=start, num=10).execute()
    return result

def search_substack_basic():
    base_query = 'site:youtube.com inurl:about ("@gmail.com" OR "@yahoo.com" OR "@outlook.com" OR "@hotmail.com" OR "@protonmail.com")'

    try:
        total_results = google_search(base_query, api_key, search_engine_id, 1)
        print(f"Total search results available.")
    except Exception as e:
        print(f"Failed to retrieve total number of results: {e}")
        return

    print("Fetching first few results...")
    try:
        search_results = google_search(base_query, api_key, search_engine_id, 1)

        for item in search_results.get('items', []):
            url = item.get('link')
            title = item.get('title', '')
            print(f"Title: {title}, URL: {url}")
    except Exception as e:
        print(f"An error occurred while fetching results: {e}")

if __name__ == "__main__":
    search_substack_basic()

This code has some restricted features for the sake of IP. But what you can do is attach your own Google search query API into this Python script, add your own storage mechanism, and modify the search query limit (based on Google’s free 100 daily API calls).

If you’d like to receive a full database of leads, reach out and I’m happy to Dork your idea!