示例#1
0
        private void NavigateLink(string url)
        {
            string htmlSting = HttpUtils.GetWebRequestResponse(url);

            var htmlDocument = HtmlDocumentUtilities.GetHtmlDocument(htmlSting);

            ExtractProducts(htmlDocument);

            products.SaveProducts(givenMessage);
        }
示例#2
0
        public void GetProducts(CloudQueueMessage givenMessage)
        {
            var url = GetSearchUrl(givenMessage, retailerConfiguration);

            document = HtmlDocumentUtilities.GetHtmlDocument(GetResponseForUrl(url));

            ExtractProducts(document);

            ParseProducts();

            products.SaveProducts(this.givenMessage);
        }