repositorypackage
0.0.0-20200823021612-240e486fe6cc
Repository: https://github.com/jameshwc/ptt-crawler-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
Ptt-Crawler-Go
Implement Ptt Crawler in go with goroutine
Status: Developing
Usage
import (
crawler "github.com/jameshwc/Ptt-Crawler-Go"
)
const (
pages = 5000
numOfRoutine = 100
storePath = "dat/"
)
func main() {
p := crawler.NewPTT(storePath, pages, numOfRoutine)
p.CrawlBoard("Gossiping")
}