BLOCKS: Price List (version 1)
In this test, the web scraper needs to scrape a price list organized in a block layout. Specifically, it has to:
- Extract all the products (their names, descriptions and prices), while skipping advertisements
- Scrape discounted products only
- Scrape products with red prices only
There is a ver parameter (which varies from 1 to 5) to show different table versions (with different product numbers, best price and advertisement positions).
Also there are two tables presented:
- Case 1 (simple one, with products and prices placed into the same block)
- Case 2 (complicated one, with products and prices placed into separate blocks)
For testing, you may use the following sample links. The scraper should sufficiently scrape all data from a certain case using the same project:
Case 1
Dell Latitude D610-1.73 Laptop Wireless Computer
2 GHz Intel Pentium M, 1 GB DDR2 SDRAM, 40 GB, Microsoft Windows XP Professional$239.95Samsung Chromebook (Wi-Fi, 11.6-Inch)
1.7 GHz, 2 GB DDR3 SDRAM, 16 GB, Chrome$249.00BESTPRICE!
ADVERTISEMENT
Apple MacBook Pro MD101LL/A 13.3-Inch Laptop (NEWEST VERSION)
2.5 GHz Intel Core i5, 4 GB DDR3 SDRAM, 500 GB Serial ATA, Mac OS X v10.7 Lion$1,099.99Acer Aspire AS5750Z-4835 15.6-Inch Laptop (Black)
2 GHz Pentium B940, 4 GB SDRAM, 500 GB, Windows 7 Home Premium 64-bit$385.72BESTPRICE!
ADVERTISEMENT
HP Pavilion g7-2010nr 17.3-Inch Laptop (Black)
2.3 GHz Core i3-2350M, 6 GB SDRAM, 640 GB, Windows 7 Home Premium 64-bit$549.99discount 7%
ASUS A53Z-AS61 15.6-Inch Laptop (Mocha)
1.4 GHz A-Series Quad-Core A6-3420M, 4 GB DIMM, 750 GB, Windows 7 Home Premium 64-bit$399.99Case 2
Dell Latitude D610-1.73 Laptop Wireless Computer
2 GHz Intel Pentium M, 1 GB DDR2 SDRAM, 40 GB, Microsoft Windows XP ProfessionalSamsung Chromebook (Wi-Fi, 11.6-Inch)
1.7 GHz, 2 GB DDR3 SDRAM, 16 GB, ChromeADVERTISEMENT
Apple MacBook Pro MD101LL/A 13.3-Inch Laptop (NEWEST VERSION)
2.5 GHz Intel Core i5, 4 GB DDR3 SDRAM, 500 GB Serial ATA, Mac OS X v10.7 LionAcer Aspire AS5750Z-4835 15.6-Inch Laptop (Black)
2 GHz Pentium B940, 4 GB SDRAM, 500 GB, Windows 7 Home Premium 64-bit$239.95
$249.00
$1,099.99
$385.72
ADVERTISEMENT
HP Pavilion g7-2010nr 17.3-Inch Laptop (Black)
2.3 GHz Core i3-2350M, 6 GB SDRAM, 640 GB, Windows 7 Home Premium 64-bitASUS A53Z-AS61 15.6-Inch Laptop (Mocha)
1.4 GHz A-Series Quad-Core A6-3420M, 4 GB DIMM, 750 GB, Windows 7 Home Premium 64-bit$549.99
discount 7%
$399.99