【发布时间】:2017-08-23 17:36:31
【问题描述】:
尝试使用Jsoup 1.10.3 获取数据,似乎eq 选择器无法正常工作。
我尝试了第 n 个孩子,但它似乎没有得到第二个表 (table:nth-child(2))。
我的选择器正确吗?
html > body > table:nth-child(2) > tbody > tr:nth-child(2) > td:nth-child(2)
在下面的示例中,尝试提取值 232323
【问题讨论】:
-
你能放一个简单的示例 HTML 文档,你得到的结果和你期望的结果吗?
-
添加了查看链接,上面写着#Here is the try it sample#
标签: java jsoup html-parsing