freelancesam Posted May 31, 2011 Share Posted May 31, 2011 I'm experienced with screen scraping using _IE UDF and Inet commands but I need to be able to use a proxy with it. I've searched the forum for 3 days now and found a lot of non-working examples using winHTTP or WGet. Can anybody show me a way to do this where i can create a funtion like "_scrape($url, $proxy)" and it returns the html? thanks Sam Link to comment Share on other sites More sharing options...
smartee Posted May 31, 2011 Share Posted May 31, 2011 Try thisHttpSetProxy(2, "proxy:port", "username", "password") ConsoleWrite(BinaryToString(InetRead("http://www.google.com"))) Link to comment Share on other sites More sharing options...
freelancesam Posted May 31, 2011 Author Share Posted May 31, 2011 Try thisHttpSetProxy(2, "proxy:port", "username", "password") ConsoleWrite(BinaryToString(InetRead("http://www.google.com"))) I cant believe this worked! thanks mate. Link to comment Share on other sites More sharing options...
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