public void ScrapeAllProductsTest() { SoleboxScraper scraper = new SoleboxScraper(); scraper.ScrapeAllProducts(out var lst, ScrappingLevel.PrimaryFields, CancellationToken.None); Helper.PrintFindItemsResults(lst); }
public void GetProductDetailsTest() { SoleboxScraper scraper = new SoleboxScraper(); ProductDetails details = scraper.GetProductDetails("https://www.solebox.com/en/Footwear/Basketball/Air-Jordan-1-Retro-High-OG-variant-14.html", CancellationToken.None); foreach (var sz in details.SizesList) { Debug.WriteLine(sz); } }
public void FindItemsTest() { SoleboxScraper scraper = new SoleboxScraper(); SearchSettingsBase settings = new SearchSettingsBase() { KeyWords = "Air+Presto" }; scraper.FindItems(out var lst, settings, CancellationToken.None); }