1、下载一个firefox或者chrome浏览器,然后调出【查看元素】的调试器;
2、采集网页,首先要分析网页的结构,根据id名、name名、元素名,逐步获取;
3、参考代码
Dim web As New System.Windows.Forms.WebBrowser()
web.ScriptErrorsSuppressed = True
web.Navigate("http://www.cninfo.com.cn/information/financialreport/szmb000651.html")
Do Until web.ReadyState = 4
Application.DoEvents
Loop
Dim tb As object = web.Document.GetElementsByTagName("table")(2)
Dim trs = tb.GetElementsByTagName("tr")
For i As Integer = 0 To trs.count-1
Dim tds As object = trs(i).GetElementsByTagName("td")
For j As Integer = 0 To tds.count-1
output.show(i & "行" & j & "列:" & tds(j).innerText)
Next
Next