private void NavigateLink(string url) { string htmlSting = HttpUtils.GetWebRequestResponse(url); var htmlDocument = HtmlDocumentUtilities.GetHtmlDocument(htmlSting); ExtractProducts(htmlDocument); products.SaveProducts(givenMessage); }
public void GetProducts(CloudQueueMessage givenMessage) { var url = GetSearchUrl(givenMessage, retailerConfiguration); document = HtmlDocumentUtilities.GetHtmlDocument(GetResponseForUrl(url)); ExtractProducts(document); ParseProducts(); products.SaveProducts(this.givenMessage); }