Module contact

Module contact 

Source
Expand description

Contact information extraction for halldyll-parser

This module handles extraction of:

  • Email addresses
  • Phone numbers
  • Physical addresses
  • Social media links
  • Business information

Structs§

Address
A physical address
ContactInfo
All contact information found on a page
Coordinates
Geographic coordinates
Email
An email address with metadata
Phone
A phone number with metadata
SocialLink
A social media link

Enums§

EmailSource
Source of email extraction
PhoneType
Type of phone number
SocialPlatform
Social media platforms

Functions§

extract_addresses
Extract physical addresses from document
extract_contact_info
Extract all contact information from HTML document
extract_emails
Extract email addresses from document
extract_phones
Extract phone numbers from document
extract_social_links
Extract social media links from document
get_emails
Get all emails from page
get_phones
Get all phone numbers from page
get_social_links
Get all social links from page
has_contact_info
Check if page has contact information