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
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
Metadata
Release files for htmlcontact 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| htmlcontact-0.1.tar.gz | 3.4 kB | Details |
Release files / htmlcontact-0.1.tar.gz
| Download URL | htmlcontact-0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9eca15df8587ce0cd89a123f713a8e1fcb808b4e4515f528711d0b1ec6accbf2
|
|
BLAKE2b-256 checksum How to use checksums |
8812e844d986c965a913a4dfd01b4566c5adbcc901d9fbe7bf69d2df4e5f5a48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |