【发布时间】:2014-08-04 18:32:07
【问题描述】:
我不确定如何在 jsoup 中解析“bundesweit”和日期字符串,因为它们的类名相同(col2)
<strong><a href="/stellenangebote/109499-python-entwickler-gui-testing?page=1&query%5Bcity%5D=&query%5Bradius%5D=100&query%5Btext%5D=Python" title="Python-Entwickler (m/w) GUI Testing">Python-Entwickler (m/w) GUI Testing</a></strong>
<br>
<a class="job-offer-teaser-company" href="/unternehmen/ruecker-gmbh" title="Rücker">Rücker</a>
</div>
<div class='col2'>
bundesweit
</div>
<div class='col2'>
08.12.2013
</div>
我试过这个:
Elements jobTitleElement = element.select("a");
Elements companyNameElement = element.select(".job-offer-teaser-company");
Elements locationElement = element.select(".cal2");
非常感谢
【问题讨论】: