Skip to content

jameshwc/Ptt-Crawler-Go

Repository files navigation

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")
}

About

Implement Ptt Crawler in go with goroutine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages