[求助]如何获取两个li标签之间的内容 Post By:2019/1/14 15:42:00 [显示全部帖子]
见附件,我想提取as28、d2d2、f31e这三个数据。我以下代码完成不了,怎么办?求教!!!
Dim elems As object = web.Document.GetElementsBytagName("ul") For Each elem As object In elems If elem.getattribute("classname") = "hnj" Then output.show(elem.GetElementsByTagName("li")(0).Innertext ) End If Next