Skip to main content

The email_scraper module provides a simple method that extracts email addresses from HTML. It is able to find emails in plain text, links, atob() obfuscation and HTML entities obfuscation.

Available on PyPI.

https://github.com/kichik/email-scraper/workflows/Build/badge.svg https://badge.fury.io/py/email-scraper.svg

Usage

>>> from email_scraper import scrape_emails
>>> scrape_emails('<html><body><a href="mailto:hello@world.com">email me</a></body></html>')
{'hello@world.com'}
>>> scarpe_emails('<a href="javascript:window.location.href=atob(\'bWFpbHRvOmVtYWlsQGV4YW1wbGUuY29t\')">E-Mail</a>')
{'email@example.com'}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

email_scraper-0.6.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

email_scraper-0.6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file email_scraper-0.6.tar.gz.

File metadata

  • Download URL: email_scraper-0.6.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for email_scraper-0.6.tar.gz
Algorithm Hash digest
SHA256 838864e5bb6d39e65fb27c1a706b90109582af4192f72c71a79d7dd4b93a11cc
MD5 43bd795f9d085488a8fa6c576044f204
BLAKE2b-256 de78679955117d8ae0c7ecf5431544b078cfb113d38b25e486902eeb04d065d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for email_scraper-0.6.tar.gz:

Publisher: test-and-publish.yml on kichik/email-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file email_scraper-0.6-py3-none-any.whl.

File metadata

  • Download URL: email_scraper-0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for email_scraper-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fbaa5b809b835b0915fc96bfea227635cf1c0fb2aea8686c7414ede44a3143f8
MD5 eb149a5d45da041b98a5bed668fd4409
BLAKE2b-256 303152aa2e1e68350fd57c383d450f07a8fb6495381daff5ff59ce3841faab59

See more details on using hashes here.

Provenance

The following attestation bundles were made for email_scraper-0.6-py3-none-any.whl:

Publisher: test-and-publish.yml on kichik/email-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6 This release

2 files

0.5

2 files

0.4

2 files

0.3

2 files

0.2

2 files

0.1

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page