I am creating a google scraper in Adobe AIR using the Flex 4 framework.
I have run into a brick wall: Google forces a captcha after around 10 pages are read.
Can anyone tell me how to get the page through a proxy server?
I am using HTTPService
Here’s my code:
service=new HTTPService();
service.addEventListener(ResultEvent.RESULT, googleResult);
service.addEventListener(FaultEvent.FAULT, googleFault);
service.resultFormat="text";
service.url=_googleURL+keyPhrase.text
service.send();
Cheers,
Solution:
I created a ProxyHTTPService class which extends HTTPService
Then I created a php page on the server
Now in ActionScript, you can call the ProxyHTTPService like this: