摘要: package main import ( "github.com/antchfx/htmlquery" "io" "net/http" "os" "strconv" ) func main() { base_url := "https://tieba.baidu.com/f?kw=%E7%BB%9 阅读全文
posted @ 2020-08-24 23:20 brady-wang 阅读(247) 评论(0) 推荐(0) 编辑
摘要: https://github.com/antchfx/htmlquery package main import ( "fmt" "github.com/antchfx/htmlquery" "log" "net/http" "time" ) func main() { url := "http:/ 阅读全文
posted @ 2020-08-24 16:29 brady-wang 阅读(1587) 评论(0) 推荐(0) 编辑
摘要: 1 package main import ( "fmt" "io/ioutil" "net/http" ) func main() { resp,err := http.Get("http://yeves.cn") if err != nil{ fmt.Print("http get err",e 阅读全文
posted @ 2020-08-24 14:32 brady-wang 阅读(240) 评论(0) 推荐(0) 编辑