5

how can I automate finding the pagerank of a domain? I came across this Python script but it no longer works. Seems Google doesn't like people automating this.

So, is there an alternative provider of page rank scores? I do not need the exact same result as Google, but something comparable.

hoju
  • 28,392
  • 37
  • 134
  • 178
  • why the script you posted doesn't work anymore? I assume you would just have to do query with link:siteaddress (http://www.google.com/help/cheatsheet.html) to get the number of links to a page, then do it recursively. Consider that many websites don't like to be scanned by spiders and that you should ask permission to the webmaster to do so. – dalloliogm Oct 15 '09 at 16:57
  • yeah I'm not intending to do the computation myself. – hoju Oct 15 '09 at 23:17

2 Answers2

4

Here is a python script which does work. I had to do exactly the same thing recently!

Nick Craig-Wood
  • 52,955
  • 12
  • 126
  • 132
  • you're right - it works! Google must have updated that hash algorithm, which broke the earlier script. – hoju Oct 18 '09 at 23:25
2

Have you tried HalOtis Marketing's Page Rank script at http://www.halotis.com/2009/08/02/google-page-range-python-script/? He generally writes good, simple Python code for exactly this kind of stuff.

ewall
  • 27,179
  • 15
  • 70
  • 84
  • actually that is the same script - he copied it from the example I gave – hoju Oct 15 '09 at 23:15
  • Ah, I see that now. HalOtis even mentions it in the first line of the blog post. Guess I should read a little closer! – ewall Oct 16 '09 at 15:45