This commit is contained in:
parent
dc257c195b
commit
4aa4daa295
2 changed files with 3 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ func (s *Parser) worker(ctx context.Context, receiver chan shared.Task, sender c
|
|||
for task := range receiver {
|
||||
log.WithField("task_uuid", task.MerchUuid).Debug(logHeader + logWorker + "processing task")
|
||||
|
||||
pageCtx, pageCancel := chromedp.NewContext(ctx, chromedp.WithLogf(log.Printf))
|
||||
pageCtx, pageCancel := chromedp.NewContext(ctx, chromedp.WithLogf(func(string, ...any) {}))
|
||||
|
||||
price, err := s.getPrice(pageCtx, task)
|
||||
pageCancel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue