scraper

package
v0.0.0-...-61c6b88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scraper

type Scraper interface {
	ScrapAndGet(string, string) (*database.Person, error)
}

Scraper represents an html scraper / parser

type TruePeopleScraper

type TruePeopleScraper struct{}

TruePeopleScraper implements PersonService for http://truepeoplesearch.com

func (TruePeopleScraper) ScrapAndGet

func (TruePeopleScraper) ScrapAndGet(phone string, name string) (*database.Person, error)

ScrapAndGet returns a person based on it's phone number, it multiple are found, uses the name to discriminate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL