My website: which is used to check Google Page Rank and display Google PageRank Buttons now gives an error. Warning: file(http://www.google.com/search?client=...s=Rank&q=info:) [function.file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden I need to someone to help me to fix this bug, plz post here if you know how to fix it, thanks. I believe the server's IP has been banned to now display googgle pagerank images, is there a way to solve this problem? Help guys!
No dude... its not working any day.... Some say the server is banned from google for PR request! Anyone... any ides?
You can use proxy for the lookup. Don't know if it is legal according to the TOS or not. But most of the scripts I have made for the lookup (like WHOIS lookup) does uses a proxy list so not to get banned from excess queries.
Any proxy site will do as long as you can pass a url to the page through a get variable. You will just have to find one and stick with it so that you can scrape the right part of the page every time. Each proxy that gets banned means that you have to re-code the program to hit a new proxy and revise your regex. This might be a wild goose chase as proxy ip addresses would seem to get banned more quickly ... but go for it, I don't have a better solution other than to lease some throw away domains for $1 & cheap hosting and set them up yourself.