Extract email addresses and linkedin profiles from given URL.
Project description
Extract Emails
Extract emails and linkedins profiles from a given website
Requirements
- Python >= 3.7
Installation
pip install extract_emails
Simple Usage
from extract_emails.browsers.requests_browser import RequestsBrowser as Browser
from extract_emails import DefaultFilterAndEmailFactory as Factory
from extract_emails import DefaultWorker
browser = Browser()
url = 'https://en.wikipedia.org/'
factory = Factory(website_url=url, browser=browser)
worker = DefaultWorker(factory)
data = worker.get_data()
print(data)
"""
[
PageData(
website='https://en.wikipedia.org/',
page_url='https://en.wikipedia.org/Email_address',
data={'email': ['"John.Doe."@example.com', 'x@example.com']}
),
PageData(
website='https://en.wikipedia.org/',
page_url='https://en.wikipedia.org/Email_address2',
data={'email': ['"John.Doe2."@example.com', 'x2@example.com']}
),
]
"""
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
extract-emails-5.1.3.tar.gz
(17.7 kB
view hashes)
Built Distribution
Close
Hashes for extract_emails-5.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b15daf95ef7c3a2d9d79bdb04ea8e6480064732df9b4e735947464d93ce62e21 |
|
MD5 | 06e0f1f4c0be4e7275168d15cb8690ba |
|
BLAKE2b-256 | d9128d26f0d304be099d1937c37481d55a25b6b01048a5ad58622c3e1252a7a9 |