title: how to find an html element or group of html elements by id or class in colly?
body: <p>I am using <a href="http://go-colly.org" rel="nofollow noreferrer">colly</a> for scraping website. in OnHTML callback :</p>
  
  <pre><code>package main
  
  import (
      "fmt"
      "github.com/gocolly/colly"
  )
  
  func main() {
  
      // Instantiate default collector
      c := colly.NewCollector()
  
      // On every a element which has href attribute call callback
      c.OnHTML("h3", func(e *colly.HTMLElement) {
          link := e.Text
          // Print link
          fmt.Printf("Link found: %q -&gt; %s\n", e.Text, link)
          // Visit link found on page
          // Only those links are visited which are in AllowedDomains
          c.Visit(e.Request.AbsoluteURL(link))
      })
  
      // Before making a request print "Visiting ..."
      c.OnRequest(func(r *colly.Request) {
          fmt.Println("Visiting", r.URL.String())
      })
  
      // Start scraping on https://hackerspaces.org
      c.Visit("https://bbs.archusers.ir/")
  }
  </code></pre>
  
  <p>for example I want to get all  with 'id Name' id or get all  with 'class Name'. How can  I do this ?!</p>