public void GetNewArrivalsPage() { KithScrapper scraper = new KithScrapper(); scraper.ScrapeAllProducts(out var lst, ScrappingLevel.PrimaryFields, CancellationToken.None); Helper.PrintFindItemsResults(lst); }
public void GetProductDetailsTest() { KithScrapper scraper = new KithScrapper(); ProductDetails details = scraper.GetProductDetails("https://kith.com/collections/latest/products/nike-air-jordan-10-retro-racer-blue-team-orange-black", CancellationToken.None); Helper.PrintGetDetailsResult(details.SizesList); Debug.WriteLine(details.Name); }
public void FindItemsTest() { KithScrapper scraper = new KithScrapper(); SearchSettingsBase settings = new SearchSettingsBase() { KeyWords = "Boots" }; scraper.FindItems(out var lst, settings, CancellationToken.None); foreach (var item in lst) { Debug.WriteLine(item.Id); } }