fix 修复proxies panic的bug

This commit is contained in:
timerzz 2024-12-11 13:45:55 +08:00
parent 23dc1eaeff
commit 5b102469a2

View File

@ -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 {