Vbscript / Web Servers / Webpage Url Html Capture
Address the URL of a webpage and capture the HTML as a string.
strURL = "http://www.bbc.co.uk"Set objHTTP = CreateObject("MSXML2.XMLHTTP") Call objHTTP.Open("GET", strURL, FALSE) objHTTP.Send strHTML = objHTTP.ResponseText WScript.Echo(strHTML)
Please note that a disclaimer applies to any code on this page.
|