WEB SCRAPER TESTING GROUND

BLOCKS: Price List

In this test, the web scraper needs to scrape a price list organized in a block layout. Specifically, it has to:
  1. Extract all the products (their names, descriptions and prices), while skipping advertisements
  2. Scrape discounted products only
  3. 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:

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.95
Samsung Chromebook (Wi-Fi, 11.6-Inch)
1.7 GHz, 2 GB DDR3 SDRAM, 16 GB, Chrome
$249.00BEST
PRICE!
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.99
Acer Aspire AS5750Z-4835 15.6-Inch Laptop (Black)
2 GHz Pentium B940, 4 GB SDRAM, 500 GB, Windows 7 Home Premium 64-bit
$385.72BEST
PRICE!
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.99
discount 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.99

Case 2

Dell Latitude D610-1.73 Laptop Wireless Computer
2 GHz Intel Pentium M, 1 GB DDR2 SDRAM, 40 GB, Microsoft Windows XP Professional
Samsung Chromebook (Wi-Fi, 11.6-Inch)
1.7 GHz, 2 GB DDR3 SDRAM, 16 GB, Chrome
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
Acer 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-bit
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
$549.99
discount 7%
$399.99