awesome is a golang crawler tools It hopes to help people write crawlers more easily
- fake UserAgent
- simple Requester
- Automatic recognition of web page coding
- more...
must
- go version >= 1.10
go get -u github.com/Golzaes/awesomeCrawlerTools/...
package main
import (
"fmt"
"github.com/Golzaes/awesomeCrawlerTools/Head"
)
func main() {
fmt.Println(Head.RandomUserAgent())
// output
// Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.310.0 Safari/532.9
}
e-mail: wuzhipeng1289690157@mail.com
Wechat: chenxi-0719-chenxi
Personal website: blogs-payne.github.io
other: 公众号:积跬Coder
Welcome star or PR, thank you