extended navigation
All checks were successful
/ Make image (push) Successful in 38s

This commit is contained in:
nquidox 2025-12-26 18:17:26 +03:00
parent dc257c195b
commit 4aa4daa295
2 changed files with 3 additions and 1 deletions

View file

@ -19,6 +19,8 @@ func (s *Parser) getPrice(ctx context.Context, task shared.Task) (int32, error)
)
if err := chromedp.Run(ctx,
chromedp.Navigate("https://www.mandarake.co.jp/index2.html"),
chromedp.WaitReady("body", chromedp.ByQuery),
chromedp.Navigate(task.Link),
chromedp.WaitReady("body"),
chromedp.Text(`div.price`, &singlePrice, chromedp.ByQuery, chromedp.AtLeast(0)),