c.OnHTML(".detail-right", func(e *colly.HTMLElement) {}只有 e.text 获取的都是文字,我想 e.html 获取 <li>aaaa</li> 但是我没办e.html 求大神解决
c.OnHTML(".detail-right", func(e *colly.HTMLElement) {
e.DOM.Each(func(_ int, s *goquery.Selection) {
s.Html()
})
}
#1