Gui Posted September 12, 2010 Posted September 12, 2010 I'm trying to make an image scraper using web requests. My question is using "GET", how would I save the image from that "GET"? Example: $tHTTP = ObjCreate("winhttp.winhttprequest.5.1") ; Creation of Web Request Obj $tHTTP.Open("GET", "http://www.google.com/intl/en_ALL/images/logos/images_logo_lg.gif" , False) ; That's the image URL to get from $tHTTP.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5") ; User Agent $tHTTP.Send() ; Send nothing due to it's a GET, not POST So, would I use the .responseText for something? So lost for this. All help appreciated! Thanks. GUI
Kalin Posted September 19, 2010 Posted September 19, 2010 Sorry I can't help, I suck with HTTPWrappers... Though I can bump! >: } Bump!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now