Scrapes zoominfo.com for employee names and turns them into email addresses automagically.
This isn't using any fancy APIs or anything, so if zoominfo.com updates their site at all this script will fail hilariously.
A Word on CloudFlare
The random sleep breaks within the script are in an attempt to avoid CloudFlare rate-limiting.
Google dork your target "domain.tld" like so:
Pick the correct instance (usually the first) and give the script everything after "https://www.zoominfo.com/c/" as -z, e.g.,
-z 'netspi-inc/36078304' -d netspi.com
To have the script automatically search and select the first Google dork result and proceed, use the -g switch with -d, e.g.,
-d netspi.com -g
There are four format (-f) options:
- email@example.com (e.g., firstname.lastname@example.org) (default)
- email@example.com (e.g., firstname.lastname@example.org)
- email@example.com (e.g., firstname.lastname@example.org)
- Full name (e.g., John Marie Doe)
CloudFlare is a bear, so random sleeps are added for each request to not poke the bear too much. If there are more than 10 pages, a ~60 second break is taken every 10 pages.
If you get multiple 429's returned, it's likely that you are being rate limited by CloudFlare. You can try changing your IP and continuing with 'y'.
The tool needs the following package to run:
pip3 install cloudscraper
pip3 install google
Requires python3. (-z) or (-g and -d) are required. (-z) is the zoominfo.com path described above. (-d) appends whatever domain.tld you want to the employee names. The (-f) format options are also described above. An output file (-o) option will write to a given filename. Run the script with no options or (-h) to see the help menu.
python3 zoominfo-scraper.py -z zoominfo/path [-d domain.tld] [-f 1] [-o outputfile.txt] [-g]