Skip to main content

Simple utility to extract email addresses from HTML, including obfuscated email addresses

Project description

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://travis-ci.org/kichik/email-scraper.svg?branch=master 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'}
>>>

Project details


Download files

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

Files for email-scraper, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size email_scraper-0.3-py2.py3-none-any.whl (3.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size email-scraper-0.3.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page