Does anyone know of an updated script (any language) that retrieves the Google PageRank? Everything I have found online is before the latest update which seemed to have rendered the last method useless.
Does anyone know of an updated script (any language) that retrieves the Google PageRank? Everything I have found online is before the latest update which seemed to have rendered the last method useless.
| Sponsored Links |
I dunno if this works, and even if it does I suspect Google will block your IP if you overuse it:
http://www.pagerankcode.com/download-script.html
Nah, I am aware of that script (and many that use the same technique) but it unfortunately doesn't work for all urls now. I have read that the method that script uses was changed around Sept 2009.
I realise the IP situation but that is avoidable. All of the Firefox extensions and Keyword Tools like Market Samurai are still doing it, I just have to work out how
I've got the same problem right now. I'm considering writing a scraper to collect seo4firefox data, but that seems pretty ghetto.
Grazor, I think I got it working. I found the solution in this awesome piece of open source software - http://sourceforge.net/projects/seopanel/
You will find the functions for calculating the checksum in seopanel/controllers/rank.ctrl.php
I will check it properly tonight but it was returning PR for pages that were returning N/A in the previous code.
That software has a heap of features for any SEO scripts you need to write.
Please don't pick on my dodgy code.
Hey Herron, thanks for the code, I'll take a look at it tomorrow.
the seoquake for firefox plugin has a lot of good info for anyone wanting to code up their own stuff to provide metrics/data.
If you have it installed, just enable it then click on Tools tab in your FF browser, select SEOQuake, then select preferences.
This will bring up the seoquake interface, inside that you will see all the websites he is pulling data from. Make sure the 'parameters' tab at the top left is the tab you are on to see all the sites ....
To get the required info for any particular site, just click on the site you want data for and it will highlight that site, then click the EDIT button underneath the sites panel.
So if you wanted google PR info - select to highlight google pr, then click edit, and a small window will open up with this data:
Code:[NAME]=Google pagerank [TITLE]=PR [URL_R]=http://toolbarqueries.google.com/search?client=navclient-auto&hl=en&ch={gchecksum}&ie=UTF-8&oe=UTF-8&features=Rank&q=info:{url|encode} [REGEXP]=Rank_.*?:.*?:(\d+)
Bookmarks