예제 #1
0
파일: sohujson.go 프로젝트: aosen/spiders
func addRequest(p *robot.Page, tag, url, cookie, content string) {
	req := robot.NewRequest(url, "json", tag, "GET", "", nil, nil, nil, content)
	p.AddTargetRequestWithParams(req)
}