Documentation ¶
Index ¶
- Variables
- func AsyncSearch(keyword, dir string, endPage ...int64) <-chan time.Duration
- func Deduplication(ss []string) (ar []string)
- func FileCollector(referer, dir string, out ...time.Duration) *colly.Collector
- func GetSaveFileSum() int64
- func HtmlCollector(referer, sel string, f colly.HTMLCallback, out ...time.Duration) *colly.Collector
- func RandAgent() string
- func RandProxy() string
- func SaveToFile(name string, data []byte)
- func Search(keyword, dir string, endPage ...int64)
Constants ¶
This section is empty.
Variables ¶
View Source
var StartPage int64 = 2
View Source
var TimeOut = 20 * time.Second
Functions ¶
func FileCollector ¶
func GetSaveFileSum ¶
func GetSaveFileSum() int64
func HtmlCollector ¶
func SaveToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.