I'm using Java Jsoup to get some details.
<ul class="vcard-details">
<li class="vcard-detail" itemprop="homeLocation"><span class="octicon octicon-location"></span>Caldwell, Idaho, USA</li>
<li class="vcard-detail"><span class="octicon octicon-mail"></span><a class="email" href="mailto:jamisbuck@gmail.com">jamisbuck@gmail.com</a></li>
<li class="vcard-detail" itemprop="url"><span class="octicon octicon-link"></span><a href="http://blog.jamisbuck.org" class="url" rel="nofollow me">http://blog.jamisbuck.org</a></li>
<li class="vcard-detail"><span class="octicon octicon-clock"></span><span class="join-label">Joined on </span><time class="join-date" datetime="2008-02-28T17:37:32Z" day="numeric" is="local-time" month="short" year="numeric" title="Feb 28, 2008, 11:07 PM GMT+5:30">Feb 28, 2008</time></li>
</ul>
I've got the above section using..
Element bio = doc.getElementsByClass("vcard-details").first();
Is there any way I can get the text 'Caldwell, Idaho, USA' ? I'm trying to make use of class name 'octicon octicon-location', because I need to get all those attributes seperatly (only if they are available).