我想使用Jsoup從buy.com頁面提取評論和評分信息。問題是我似乎無法弄清楚如何做到這一點,因爲每個評論的編號因其編號而異。例如回顧11號看起來是這樣的:使用Jsoup從網頁中提取信息
<a id="CustomerReviews_customerReviews_ctl11_reviewIdAnchor" name="a352496"> </a><br />
<span id="CustomerReviews_customerReviews_ctl11_ratingInfo"><span class="blueText"><b>5</b> of <b>5</b></span> <b>Great Product</b> 12/15/2010<br /></span>
<span id="CustomerReviews_customerReviews_ctl11_reviewerInfo"><b>A customer</b> from x<br></span>
<span id="CustomerReviews_customerReviews_ctl11_reviewContent">content</span>
而回顧12號將有ID:CTL12 我怎樣才能提取查看頁面中所有評論的內容和評分?