这是我尝试从中获取<tbody>
信息的方式。在控制台中什么也不会打印,如果我选择<td>
标签,只会打印<thead>
中的信息。
final String url = "https://debt.reestri.gov.ge/ipove_movale.php?search=&fname=&lname=&orgname=&idno=60001050665";
System.out.println("===================================");
Document doc = Jsoup
.connect(url)
.userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0")
.get();
Elements elements1 = doc.select("tbody");
System.out.println(elements1.text());
System.out.println("===========");
System.out.println(elements1.html());
System.out.println("===========");
System.out.println(elements1.outerHtml());
System.out.println("===========");
System.out.println(elements1.eachText());