Lead Gen Crawler

Multi-interface web extraction & validation system

PythonAsyncIOBS4SQLiteStreamlitTelegram Bot
View Source on GitHub

The Problem

Traditional lead generation suffers from high manual overhead and expensive third-party SaaS costs for email extraction and validation.

Architecture

Core Engine

BeautifulSoup4 / Requests

Heuristic extraction & page detection

Interfaces

Streamlit / TG Bot

Web-based GUI and Telegram integration

Persistence

SQLite

Structured data storage

Validation

dnspython

MX record & deliverability verification

Implementation

Developed a comprehensive crawling ecosystem featuring a multi-threaded core (5 workers) with intelligent contact-page detection. The system respects robots.txt policies and uses user-agent rotation to ensure high availability. It offers three distinct entry points: a low-overhead CLI for batch processing, a Streamlit-powered web dashboard for interactive one-off extraction, and a dedicated Telegram Bot for on-the-go lead generation.

Processing

2-5s

per domain

Efficiency

5 Workers

Parallel

Storage

SQLite

Reliable

Key Learnings

"The project proved that a custom solution could outperform standardized SaaS tools by implementing specific heuristic rules for 'Contact' page discovery. Building a multi-interface system taught the value of strict separation between core logic and the presentation layer."