public void NewArrivalsTest()
        {
            var scraper = new RuvillaScraper();

            scraper.ScrapeNewArrivalsPage(out var list, ScrappingLevel.PrimaryFields, CancellationToken.None);
            Helper.PrintFindItemsResults(list);
        }
        public void GetProductDetailsTest()
        {
            var scraper = new RuvillaScraper();

            var testUrl = "https://www.ruvilla.com/sale/men/footwear/new-balance-498-ml498kbb.html";

            var details = scraper.GetProductDetails(testUrl, CancellationToken.None);

            Helper.PrintGetDetailsResult(details.SizesList);
        }
Beispiel #3
0
        public void GetProductDetailsTest()
        {
            var scraper = new RuvillaScraper();

            var testUrl =
                "https://en.aw-lab.com/shop/men/sale/cappello-under-armour-ua-microthread-twist-renegade-9895226";

            var details = scraper.GetProductDetails(testUrl, CancellationToken.None);

            Helper.PrintGetDetailsResult(details.SizesList);
        }
Beispiel #4
0
        public void FindItemsTest()
        {
            var scraper  = new RuvillaScraper();
            var settings = new SearchSettingsBase()
            {
                KeyWords = "shoes"
            };

            scraper.FindItems(out var list, settings, CancellationToken.None);
            Helper.PrintFindItemsResults(list);
        }