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.
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'}
Project details
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.5.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for email_scraper-0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a479f210e460795ef5405f31abfc42a1282297ff3816a021ce63b72f432949ce |
|
MD5 | 18c43e27cb19493424597451b124c6e0 |
|
BLAKE2b-256 | 78d6efbffc6c90423f1e36cd5d73a4bb2f3575b049a8cb98cc7ae2d26422c111 |