We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 795f67a commit 1ba0ef7Copy full SHA for 1ba0ef7
README.md
@@ -123,12 +123,11 @@ func ExampleScrape() {
123
}
124
125
// Find the review items
126
- doc.Find(".sidebar-reviews article .content-block").Each(func(i int, s *goquery.Selection) {
127
- // For each item found, get the band and title
128
- band := s.Find("a").Text()
129
- title := s.Find("i").Text()
130
- fmt.Printf("Review %d: %s - %s\n", i, band, title)
131
- })
+ doc.Find(".left-content article .post-title").Each(func(i int, s *goquery.Selection) {
+ // For each item found, get the title
+ title := s.Find("a").Text()
+ fmt.Printf("Review %d: %s\n", i, title)
+ })
132
133
134
func main() {
0 commit comments