mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-13 15:19:03 +00:00
Use fasthttp.PipelineClient
This commit is contained in:
@@ -25,6 +25,9 @@ func Schedule(c context.Context, remotes <-chan *OD) {
|
||||
logrus.WithField("url", remote.BaseUri.String()).
|
||||
Info("Starting crawler")
|
||||
|
||||
// Create HTTP client
|
||||
remote.WCtx.Prepare()
|
||||
|
||||
// Collect results
|
||||
results := make(chan File)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user