generated from kedaya_haitao/template
fix 修复proxies panic的bug
This commit is contained in:
parent
23dc1eaeff
commit
5b102469a2
@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
func CrawlProxies(ctx context.Context, getters []getter.Getter) {
|
||||
var proxies structs.Proxies
|
||||
var proxies = structs.NewProxies(make([]structs.Proxy, 0))
|
||||
log.Infof("共%d个抓取源", len(getters))
|
||||
var wg sync.WaitGroup
|
||||
for _, gtr := range getters {
|
||||
|
Loading…
Reference in New Issue
Block a user