Describe the problem:
I would like to grab the participating athletes and their results at the Paris Olympics from the country pages on Wikipedia (see URL below)
The names and results are shown in tables - one table for each events. The tables appear under headings (h2) and sub-headings (h3) detailing the sport and event respectively.
-> How to I get the headings and subheadings that go with each table?
Thanks in advance for any pointers.