Documentation ¶
Index ¶
Constants ¶
View Source
const UserAgent = "wospi - https://github.com/vlad-s/wospi"
UserAgent is the default user agent of the Spider.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { MinLength int // minimum length of words to be stored by the Spider MaxDepth int // maximum depth for the crawling UserAgent string // user agent used in HTTP requests // strict domain matching; if set, www sub-domain won't be added on non-www URL, // and non-www domain won't be added on www URL StrictDomain bool StripResult bool StripCharset []rune }
Options provides configuration params for the Spider.
Click to show internal directories.
Click to hide internal directories.