package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Sep 23, 2020
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package crawler provides a website crawler.
A Crawler is in charge of visiting or "crawling"
all pages and assets of a particular URL.
Queue a given URL. This method is non-blocking.
Resources returns a channel of resources visited by the crawler.
Run starts the crawling process and waits for completion.
Start crawling workers asynchronously. Use Wait() to block until completion.
Wait for all pending targets to be crawled.
A Resource is representation of the response to a Target request,
for a particular page or asset.
A Target is a target URL to crawl, with optional Parent page URL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.