答案 0 :(得分:0)
我没有对此进行测试,但它应该可以正常工作
doc = org.jsoup.Jsoup.connect(url).get()
css_path = "body > table > tbody > tr:nth-child(6) > td > table:nth-child(2) > tbody"
tbody = doc.select(css_path).first()
tbody.select("tr") // iterate and process each row as you like
您需要提供var类型等