Skip to content

Commit

Permalink
Remove commented dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarScholten committed Apr 10, 2018
1 parent bdf3833 commit 8a6bf23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions colly.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,6 @@ func (c *Collector) isDomainAllowed(domain string) bool {
}

func (c *Collector) checkRobots(u *url.URL) error {
// var robot *robotstxt.RobotsData
// var ok bool

c.lock.RLock()
robot, ok := c.robotsMap[u.Host]
c.lock.RUnlock()
Expand Down

0 comments on commit 8a6bf23

Please sign in to comment.