This commit is contained in:
parent
3375dadf06
commit
784a1a74ff
1 changed files with 0 additions and 1 deletions
|
|
@ -19,7 +19,6 @@ func (s *Parser) getPrice(ctx context.Context, task shared.Task) (int32, error)
|
|||
)
|
||||
|
||||
if err := chromedp.Run(ctx,
|
||||
chromedp.WaitReady("body", chromedp.ByQuery),
|
||||
chromedp.Navigate(task.Link),
|
||||
chromedp.WaitReady("body"),
|
||||
chromedp.Text(`div.price`, &singlePrice, chromedp.ByQuery, chromedp.AtLeast(0)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue