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 3 Total Amount
ItemsAmountItemsAmountItemsAmount
2000
Q1
-
34$6,762.6041$8,154.90$14,917.50
Q244$8,751.6050$9,945.0056$11,138.40$29,835.00
Q359$11,735.1063$12,530.7068$13,525.20$37,791.00
Q470$13,923.0073$14,519.7075$14,917.50$43,360.20
Total for 2000$238,481.10
2001
Q176$15,116.4077$15,315.30
-
-
$30,431.70
Q278$15,514.2077$15,315.30$30,829.50
Q375$14,917.5072$14,320.80$29,238.30
Q467$13,326.3063$12,530.70$25,857.00
Total for 2001$291,587.40
2002
Q155$10,939.5050$9,945.0043$8,552.70$29,437.20
Q240$7,956.0033$6,563.7026$5,171.40$19,691.10
Q322$4,375.80
-
7$1,392.30$5,768.10
Q43$596.705$994.5012$2,386.80$3,978.00
Total for 2002$124,113.60