Skip to main content

A simple python module to extract contact info from HTML pages

Project description

Quick module to read in HTML and tries to identify contacts from the HTML, whether just email, or first,last based matches etc.


Usage
=====


>>> from html_contact import HtmlContact
>>> hc = HtmlContact(raw_html)
>>> contacts = hc.search()

Result list is a list of contacts

>>> for result in result_list:
... print result.url
...
u'http://www.python.org/psf/
...

What you get is a list of Contacts() instances, each comes with the following values:

```py
self.first_name: fitst name of the contact
self.last_name: last_name of the contact
self.email: email of the contact
```

=======
# html_contact
Extracts contact info from website based first/last

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for htmlcontact, version 0.1
Filename, size & hash File type Python version Upload date
htmlcontact-0.1.tar.gz (3.4 kB) View hashes Source None

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