如何用程序去分析别人的网页数据?

dreamsun 2003-08-25 10:36:56
我想从别人的网站中提取我想要的内容
有没有人给我一个步骤?
大家共同研究研究
...全文
31 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lions911 2003-08-25
  • 打赏
  • 举报
回复
xmlhttp
pp4u 2003-08-25
  • 打赏
  • 举报
回复
用XMLHTTP:

Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://10.0.0.51/riseOffice/Utility/RiseOfficeDisplay.asp", False
xml.Send
Response.Write xml.responseText 'xml.SetRequestHeader("content-type","application/x-www-form-urlencoded");
' Pull the data from the web page
Response.write "Here's the html we now have in our xml object"
Response.write "<BR><BR><BR>"
Response.Write "<xmp>"
Response.Write xml.responseText
Response.Write "</xmp>"
Response.write "<BR><BR><BR>"
Response.write " Now here's how the page looks:<BR><BR>"
set xml=nothing
voyager 2003-08-25
  • 打赏
  • 举报
回复
用HTTP类,或者用COM,XMLHTTP是一个不错的选择,先把全部弄回来,再分析,
dreamsun 2003-08-25
  • 打赏
  • 举报
回复
up!

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧