使用简单的VBScript从XMLHTTP读取Ajax响应
我正在尝试使用脚本下载一组网站:使用简单的VBScript从XMLHTTP读取Ajax响应,vbscript,web,download,xmlhttprequest,Vbscript,Web,Download,Xmlhttprequest,我正在尝试使用脚本下载一组网站: dim xmlhttp : set xmlhttp = createobject("Msxml2.ServerXMLHTTP") xmlhttp.open "GET", "http://www.website.com/tags/search-term?page=1, false xmlhttp.send text= xmlhttp.ResponseText Firebug告诉我响应在DOM“\u result”中。但是我怎么能把它读出来呢?我知道这是一个非
dim xmlhttp : set xmlhttp = createobject("Msxml2.ServerXMLHTTP")
xmlhttp.open "GET", "http://www.website.com/tags/search-term?page=1, false
xmlhttp.send
text= xmlhttp.ResponseText
Firebug告诉我响应在DOM“\u result”中。但是我怎么能把它读出来呢?我知道这是一个非常愚蠢的问题,但我只需要对一个研究项目进行大量的自动搜索,我正在努力实现这一点。就像这样阅读您的对象的响应
response=xmlhttp.responseText