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.2.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for extract_emails-5.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a11fb8135ad42c0a30490f7adf1fa742dd2c1a07a42adce963d5b5c83c53bf8 |
|
MD5 | 9b45dba21c30722916913d85435d91b3 |
|
BLAKE2b-256 | d8393a9e36b881043c389ce04ccc05c0ee16bc90531c0367a57b148158405ef0 |