Documentation
¶
Index ¶
- func AttrOr(n *html.Node, attr, or string) string
- func MakeClient(skipCert bool) *http.Client
- func MakeGroAlbaUrl(pageNum uint64) string
- func MakeGroAmberUrl(pageNum uint64) string
- func MakeGroHasVistoAAlertsUrl(pageNum uint64) string
- func MakeMorAmberUrl(pageNum uint64) string
- func MakeMorCustomUrl(pageNum uint64) string
- func ParseGroDate(value string) (time.Time, error)
- func ParseGroFound(value string) bool
- func ParseGroSex(value string) mpp.Sex
- func ParseMorDate(value string) (time.Time, error)
- func ParseNameSexFound(value string) (string, mpp.Sex, bool)
- func Query(n *html.Node, query string) *html.Node
- func QueryAll(n *html.Node, query string) []*html.Node
- func RetrieveDocument(url string) (*html.Node, error)
- func Scrape(pageUrl string, scraper func(*html.Node) []mpp.MissingPersonPoster, ...)
- func ScrapeGroAlbaAlerts(doc *html.Node) []mpp.MissingPersonPoster
- func ScrapeGroAmberAlerts(doc *html.Node) []mpp.MissingPersonPoster
- func ScrapeGroHasVistoAAlerts(doc *html.Node) []mpp.MissingPersonPoster
- func ScrapeMorAmberAlerts(doc *html.Node) []mpp.MissingPersonPoster
- func ScrapeMorAmberPoPosterUrl(pageUrl string) (string, error)
- func ScrapeMorCustomAlerts(doc *html.Node) []mpp.MissingPersonPoster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeClient ¶ added in v0.1.0
func MakeGroAlbaUrl ¶
func MakeGroAmberUrl ¶
func MakeGroHasVistoAAlertsUrl ¶ added in v0.2.0
func MakeMorAmberUrl ¶
func MakeMorCustomUrl ¶
func ParseGroFound ¶
func ParseGroSex ¶
func ParseNameSexFound ¶ added in v0.3.0
func Scrape ¶
func Scrape(pageUrl string, scraper func(*html.Node) []mpp.MissingPersonPoster, ch chan []mpp.MissingPersonPoster)
func ScrapeGroAlbaAlerts ¶
func ScrapeGroAlbaAlerts(doc *html.Node) []mpp.MissingPersonPoster
func ScrapeGroAmberAlerts ¶
func ScrapeGroAmberAlerts(doc *html.Node) []mpp.MissingPersonPoster
func ScrapeGroHasVistoAAlerts ¶ added in v0.2.0
func ScrapeGroHasVistoAAlerts(doc *html.Node) []mpp.MissingPersonPoster
func ScrapeMorAmberAlerts ¶
func ScrapeMorAmberAlerts(doc *html.Node) []mpp.MissingPersonPoster
func ScrapeMorAmberPoPosterUrl ¶ added in v0.3.0
func ScrapeMorCustomAlerts ¶
func ScrapeMorCustomAlerts(doc *html.Node) []mpp.MissingPersonPoster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.