WEB SCRAPER TESTING GROUND

TABLE REPORT

Suppose you need to scrape a financial report organized as a table. This test checks the scraper's ability to:
  1. Support tables with indefinite number of rows and columns
  2. Tolerate merged columns and rows
  3. Parse currency format
  4. Extract only a certain year
To change the table you may use the following parameters: There should be a one year section with a merged column (for Product 3), and if more than one year are shown, there should be one or more merged cells in some quarter rows (for Products 1 and 2). All merged cells in the report contain a hyphen only.

For testing, you may use the following sample links. The scraper should sufficiently scrape all data from the reports using the same project:

Quarter Product 1Product 2Product 3Product 4 Total Amount
ItemsAmountItemsAmountItemsAmountItemsAmount
2000
Q1
-
30$5,967.0036$7,160.4041$8,154.90$21,282.30
Q242$8,353.8047$9,348.3052$10,342.8056$11,138.40$39,183.30
Q357$11,337.3061$12,132.9065$12,928.5068$13,525.20$49,923.90
Q469$13,724.1071$14,121.9073$14,519.7075$14,917.50$57,283.20
Total for 2000$396,009.90
2001
Q176$15,116.4077$15,315.30
-
-
78$15,514.20$45,945.90
Q278$15,514.2078$15,514.2076$15,116.40$46,144.80
Q375$14,917.5074$14,718.6069$13,724.10$43,360.20
Q468$13,525.2065$12,928.5058$11,536.20$37,989.90
Total for 2001$467,613.90
2002
Q157$11,337.3053$10,541.7048$9,547.2043$8,552.70$39,978.90
Q242$8,353.8037$7,359.3032$6,364.8026$5,171.40$27,249.30
Total for 2002$178,015.50