public void ParseTest() { AmazonParser parser = new AmazonParser(@"http://www.amazon.com/Best-Sellers-Books-Investing/zgbs/books/2665"); parser.Parse(); System.Diagnostics.Debug.WriteLine("Result found: " + parser.Result.Count()); }
public void ParseToAffiliate() { Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); string baseUrl = config.AppSettings.Settings["AmazonBaseUrl"].Value; string url = config.AppSettings.Settings["Amazonaire"].Value; AmazonParser parser = new AmazonParser(baseUrl); parser.Parse(); parser.ListAffiliate(url); System.Diagnostics.Debug.WriteLine("Result found: " + parser.Result.Count()); }