Documentation ¶
Index ¶
- func Collector(ctx context.Context, url string, projectPath string, cookieJar *cookiejar.Jar, ...) error
- func Crawl(ctx context.Context, site string, projectPath string, cookieJar *cookiejar.Jar, ...) error
- func Extractor(link string, projectPath string)
- func HTMLExtractor(link string, projectPath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Collector ¶
func Collector(ctx context.Context, url string, projectPath string, cookieJar *cookiejar.Jar, proxyString string, userAgent string) error
Collector searches for css, js, and images within a given link TODO improve for better performance
func Crawl ¶
func Crawl(ctx context.Context, site string, projectPath string, cookieJar *cookiejar.Jar, proxyString string, userAgent string) error
Crawl asks the necessary crawlers for collecting links for building the web page
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.