1
GoquerySyntax-wise, it is as close as possible to jQuery, with the same function names when possible, and that warm and fuzzy chainable interface.Goquery Select meta [property = og:image]?
doc.Find("meta[property='og:image']").Each(func(i int, s *goquery.Selection) {
fmt.Fprintln("og data=", s)
})
顯然不夠接近j-thing。
如何從網頁中獲取網頁中的og數據?