How do I extract all table contents and preceding data from a Wikipedia page e.g https://en.wikipedia.org/wiki/List_of_birds_of_Trinidad_and_Tobago where the data is in this repeated format,
<p>
<b>
Order
</b>
:
<a class="mw-redirect" href="/wiki/Passeriformes" title="Passeriformes">
Passeriformes
</a>
<span class="nowrap">
</span>
<b>
Family
</b>
:
<a class="mw-redirect" href="/wiki/Passeridae" title="Passeridae">
Passeridae
</a>
</p>
<p>
<a href="/wiki/Sparrow" title="Sparrow">
Sparrows
</a>
are small passerine birds ...
</p>
<table class="wikitable" width="72%">
<tr>
<th width="24%">
Common name
</th>
<th width="24%">
Binomial
</th>
<th width="24%">
Status
</th>
</tr>
<tr>
<td>
<a href="/wiki/House_sparrow" title="House sparrow">
House sparrow
</a>
</td>
<td>
<i>
Passer domesticus
</i>
</td>
<td>
Trinidad only - Introduced species
</td>
</tr>
</table>
The output format desired is,
Order, Family, Description, Name, Binomial, Status.