WEB SCRAPER TESTING GROUND

BLOCKS: Price List (version 5)

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.00
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.99BEST
PRICE!
ADVERTISEMENT
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.72
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
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.99BEST
PRICE!
PanDigital 72-70FW 7-Inch Tablet Computer - White
1 GHz, 1 MB, 1024 GB, Google Android
$69.00
ADVERTISEMENT
Dell Inspiron i15N-2728BK 15.6-Inch Laptop (Black)
2.4 GHz Core i3-2370M, 6 GB DDR3 SDRAM, 500 GB, Windows 7 Home Premium 64-bit
$429.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
$419.90
ASUS X55U-EH11 15.6-Inch Laptop
1 GHz, 2 GB DDR3 SDRAM, 320 GB, Windows 8
$349.99
Dell Inspiron i14z-1000sLV 14-Inch Ultrabook (Moon Silver)
2.3 GHz Core i3-3217U, 6 GB DDR3 SDRAM, 500 GB Serial ATA, Windows 8
$706.00
discount 7%

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
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
ADVERTISEMENT
Acer Aspire AS5750Z-4835 15.6-Inch Laptop (Black)
2 GHz Pentium B940, 4 GB SDRAM, 500 GB, Windows 7 Home Premium 64-bit
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
PanDigital 72-70FW 7-Inch Tablet Computer - White
1 GHz, 1 MB, 1024 GB, Google Android
$239.95
$249.00
$1,099.99
$385.72
$549.99
$399.99
$69.00
ADVERTISEMENT
Dell Inspiron i15N-2728BK 15.6-Inch Laptop (Black)
2.4 GHz Core i3-2370M, 6 GB DDR3 SDRAM, 500 GB, Windows 7 Home Premium 64-bit
Acer Aspire AS5750Z-4835 15.6-Inch Laptop (Black)
2 GHz Pentium B940, 4 GB SDRAM, 500 GB, Windows 7 Home Premium 64-bit
ASUS X55U-EH11 15.6-Inch Laptop
1 GHz, 2 GB DDR3 SDRAM, 320 GB, Windows 8
Dell Inspiron i14z-1000sLV 14-Inch Ultrabook (Moon Silver)
2.3 GHz Core i3-3217U, 6 GB DDR3 SDRAM, 500 GB Serial ATA, Windows 8
$429.99
$419.90
$349.99
$706.00
discount 7%