Skip to content

Commit

Permalink
only tocrawl github
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddengcn committed Apr 15, 2018
1 parent 7e73bad commit d320a1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pipelines/tocrawl/tocrawl.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ func generateCrawlEntries(db *gcse.MemDB, hostFromID func(id string) string, out
}
host := hostFromID(id)

if host != "github.com" {
return nil
}

// check host black list
if configs.NonCrawlHosts.Contain(host) {
return nil
Expand Down

0 comments on commit d320a1b

Please sign in to comment.