Extract Emails
Extract emails and linkedins profiles from a given website
Requirements
- Python >= 3.10
Installation
pip install extract_emails[all]
# or
pip install extract_emails[httpx]
# or
pip install extract_emails[playwright]
playwright install chromium --with-deps
Quick Usage
As library
from pathlib import Path
from extract_emails import DefaultWorker
from extract_emails.browsers import ChromiumBrowser, HttpxBrowser
from extract_emails.models import PageData
def main():
with ChromiumBrowser() as browser:
worker = DefaultWorker("https://example.com, browser)
data = worker.get_data()
PageData.to_csv(data, Path("output.csv"))
with HttpxBrowser() as browser:
worker = DefaultWorker("https://example.com, browser)
data = worker.get_data()
PageData.to_csv(data, Path("output.csv"))
async def main():
async with ChromiumBrowser() as browser:
worker = DefaultWorker("https://example.com, browser)
data = await worker.aget_data()
await PageData.to_csv(data, Path("output.csv"))
async with HttpxBrowser() as browser:
worker = DefaultWorker("https://example.com, browser)
data = await worker.aget_data()
await PageData.to_csv(data, Path("output.csv"))
As CLI tool
$ extract-emails --help
$ extract-emails --url https://en.wikipedia.org/wiki/Email -of output.csv
$ cat output.csv
email,page,website
bob@b.org,https://en.wikipedia.org/wiki/Email,https://en.wikipedia.org/wiki/Email
Release files for extract-emails 6.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extract_emails-6.1.0.tar.gz | 300.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extract_emails-6.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 327.5 kB
Release files / extract_emails-6.1.0.tar.gz
| Download URL | extract_emails-6.1.0.tar.gz |
|---|---|
| Size | 300.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be1afaaabe8d2a35cbd8cc32f83807fc3bf2485d43a5c82870b45f828ed9deb1
|
|
BLAKE2b-256 checksum How to use checksums |
df382f78ac0034c86031e058c9cdf26cff46359b17630ca8de022b3261ac2be3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 2, 2026.
Transparency logRelease files / extract_emails-6.1.0-py3-none-any.whl
| Download URL | extract_emails-6.1.0-py3-none-any.whl |
|---|---|
| Size | 26.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ad25be2253255723e6788b44ec337bcb49487fbcab9e7071b0c4904b55ef174
|
|
BLAKE2b-256 checksum How to use checksums |
8d8925a875f06ee7a2e92f0c7de7abae1c5b12a49a913a079ad8be62edf8de99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 2, 2026.
Transparency log