I am using htmlunit to get the webpage data. And I want to get the data with the <div class>
. But I can't find the method that is find by the class. How do I get the data?
Here is the webpage source:
<div class="content-detail">
<ul class="detail-list limited-detail">
<li>
<div class="content-sub-title">2GoGoGo Limited </div>
<div class="info-list">
<span>Tel:</span>
<p>+111 1111 2222</p>
</div>
<div class="info-list">
<span>Fax:</span>
<p>+111 1111 3333</p>
</div>
<div class="info-list">
<span>E-mail</span>
<p><a href="mailto:elaine.lee@2gotrade.com">gogogo@2gogogo.com</a></p>
</div>
<div class="info-list">
<span>Company website</span>
<p><a href="http://www.gogogo.com" target="_blank">http://www.2gotrade.com</a></p>
</div>
<div class="info-list">
<span>Address</span>
<p>Company address</p>
</div>
<div class="info- list">
<span>Introduction</span>
<p> We are.... </p>
</div>
</li>
</ul>
</div>
How to get the company detail on the source? thanks lot.