DEV Community

Lucas Gragg
Lucas Gragg

Posted on

LinkedIn scraping with Selenium: what still works

I've been working on email lead generator for a while and wanted to share what I learned.

The problem

Automatically discover and collect verified business email addresses from any industry or niche. Perfect for sales teams, marketers, and freelancers who need a steady pipeline of qualified leads without manual research.

What I built

Here are the main features I ended up shipping:

  • Bulk email discovery from domains and websites
  • Email verification and bounce detection
  • Export to CSV, JSON, or CRM-ready formats
  • Rate limiting and proxy support for safe scraping
  • Configurable filters by role, domain, and industry

Code sample

# Basic structure
class Bot:
    def __init__(self, config):
        self.config = config

    def run(self):
        while True:
            self.scan()
            self.execute()
Enter fullscreen mode Exit fullscreen mode

If you want the full working version with all the battle-tested edge cases
handled, I packaged it here: Email Lead Generator

Happy to answer questions about the architecture in the comments.

Top comments (0)