minor rework and filter dimensions

This commit is contained in:
Aleksandr Trushkin
2024-02-13 21:19:39 +03:00
parent f4bff6fe01
commit 3c3b4e4670
13 changed files with 969 additions and 780 deletions

View File

@ -385,7 +385,7 @@ func (c *client) getProductInfo(ctx context.Context, cartID int64) (pi entity.Go
}
cleanText := func(t string) string {
return strings.TrimSuffix(strings.TrimSpace(t), ":")
return strings.TrimSpace(strings.TrimSuffix(strings.TrimSpace(t), ":"))
}
const parametersSelector = "body > div.page-container > div.page-content > div.content-wrapper > div.content > div.row > div.col-md-4 > div > div > div:nth-child(6)"