package
Version:
v0.0.0-...-519d24f
Opens a new window with list of versions in this module.
Published: May 5, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package crawler provides types and functions to run crawler.
Run execute the fetcher and pass the content to the scraper.
HTMLScraper is a function wrapper for Scraper interface using goquery.
[Deprecation] use github.com/yssk22/go/crawler/html.HTMLScraper instead
Scrape implements Scraper#Scrape
[Deprecation] use github.com/yssk22/go/crawler/html.HTMLScraper#Scrape instead
type Scraper interface {
Scrape(r io.Reader) (interface{}, error)
}
Scraper is an interface to scrape a content
ScraperFunc is a function wrapper for Scraper interface
Scrape implements Scraper#Scrape
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.