Exemplo n.º 1
0
        private PriceInfo scrapPrice(HtmlNode performanceCard)
        {
            var priceText = performanceCard.CssSelect(".event__price")
                            .FirstOrDefault()?.InnerText;

            var priceInfo = KoncertUaPriceConvertor.Convert(priceText);

            return(priceInfo);
        }
Exemplo n.º 2
0
        private PriceInfo scrapPrice(HtmlNode performanceCard)
        {
            var price = performanceCard.CssSelect(".event-tickets-item-buy__price-value")
                        .FirstOrDefault()?.InnerText;

            var priceInfo = KoncertUaPriceConvertor.Convert(price);

            return(priceInfo);
        }