-
# Problem
Program crashed when scraping.
# Analysis
I think this is due to a simple check on the body return values per this [stack overflow post](https://stackoverflow.com/questions/69017084/i…
-
Hi @CollyTeam,
I tried to do a xml scan, but i did not find an answer to the html elements that i can't find.
This is the method used by me:
```
c.OnXML("//testcase", func(e *colly.XMLElement) {…
-
在根目录下,go build 报错如下:
`go: github.com/PuerkitoBio/goquery@v1.6.1: Get "https://proxy.golang.org/github.com/%21puerkito%21bio/goquery/@v/v1.6.1.mod": dial tcp 172.217.160.81:443: connectex: A connect…
-
# Storytime
A few weeks back, I realized that my templates were a mess, so I went to rewrite a bunch of them. When I did so, I broke a bunch of links and the next release was a big mess. The old Go…
-
参考资料
> [goquery](https://github.com/PuerkitoBio/goquery)
> [Golang 中使用 JSON 的一些小技巧](https://zhuanlan.zhihu.com/p/27472716)
```go
package main
import (
"encoding/json"
"fmt"
"net/http…
-
go get github.com/PuerkitoBio/goquery出现需要 golang.org/x/net/html ,这个找不到了,怎么解决呀?
-
when I scrapping data, page return http status 404 but result still have html response. I want get response. But in colly, if OnError occurred then onHTML do not occurre. How can I get response when e…
-
- get the html bosy,I just want to sxrap some message,but the `goquery`
is not comfortable,
- so,there is plan for parser html or any good suggestion?
-
# flag redefined: log_dir
goroutine 1 [running]:
panic(0x739b40, 0xc420011480)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
flag.(*FlagSet).Var(0xc4200581e0, 0x955f40, 0xc420011430, 0x7bcc29, 0…
-
The scrapping of the yahoo requests to be updated and implemented using the golang scrapping packages. One of them package implemented presently for the google and bing scrapping is [goquery](github.c…