Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultYPURL = "https://www.yellowpages.com/search"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
Extractor defines the protocol for extracting information from yellowpages. When record is fetched, the supplied addFunc is called.
type YellowPages ¶
type YellowPages struct {
// contains filtered or unexported fields
}
func NewYPExtractor ¶
func NewYPExtractor(searchTerms, geoLocationTerms string) *YellowPages
NewYPExtractor creates new instance of page extractor, by supplying search terms and geo location terms
func (*YellowPages) FetchNextPage ¶
func (this *YellowPages) FetchNextPage(addFunc func([]model.Contact)) (bool, error)
Click to show internal directories.
Click to hide internal directories.