I am trying to scrap information from multiple web sites.
<div class="detailSection">
<span>Officer/Director Detail</span>
<span><b>Name & Address</b></span>
<br/>
<br/>
<span>Title VD</span>
<br/>
<br/>
GUNN, BETTY <span>
<div>
6922 SOUTH LAGOON DR<br/>
PANAMA CITY BEACH, FL 32408<br/>
</div>
I am able to pull all of the information except for the name "GUNN, BETTY".
Officer_Director_Detail2 = Doc.getElementsByClassName("detailSection")(5).getElementsByTagName("span")(2).innerText copies "Title VD".
Officer_Director_Detail3 = Doc.getElementsByClassName("detailSection")(5).getElementsByTagName("span")(3).innerText copies "6922 SOUTH LAGOON DR PANAMA CITY BEACH, FL 32408".
I have tried using "br" and "div" but neither will copy the name. HELP!!!