diff --git a/crawler/crawler.go b/crawler/crawler.go index c10670b..688b3e3 100644 --- a/crawler/crawler.go +++ b/crawler/crawler.go @@ -63,14 +63,6 @@ func addCrawler(c oopcc.Crawler) { crawlers[c.Name()] = c } -func GetCrawler(name string) oopcc.Crawler { - c, ok := crawlers[name] - if !ok { - return nil - } - return c -} - func GetCrawlers() map[string]oopcc.Crawler { return crawlers }