Skip to content


Subversion checkout URL

You can clone with
Download ZIP


io pagerank not displaying pagerank #74

oncletom opened this Issue · 2 comments

2 participants



I was testing the pagerank module but no ranking is display.

echo "" | io -g pagerank
DEBUG: Running 1 worker..
DEBUG: Reading from STDIN
DEBUG: GET (request 71375)
DEBUG: | GET /search?client=navclient-auto&ch=61246557760&features=Rank& HTTP/1.1
DEBUG: | Accept: /
DEBUG: | Accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
DEBUG: | User-agent:
DEBUG: 200 (response 71375)
DEBUG: | Content-type: text/html; charset=ISO-8859-1
DEBUG: | Date: Thu, 05 Jan 2012 16:04:50 GMT
DEBUG: | Expires: -1
DEBUG: | Cache-control: private, max-age=0
DEBUG: | Set-cookie: PREF=ID=a543aa6fa4c101da:FF=0:TM=1325779490:LM=1325779490:S=yTUqU9zY2UdxZLg6; expires=Sat, 04-Jan-2014 16:04:50 GMT; path=/;,NID=54=Y4ZGAplvT25VlbJi29DJFwg9agCOyLdRsW6zwynMHHKU0OFh-5T11NiIP3KYBGxoct0T73QTnT-ifMjSJJp9SeAystD7BtekdCYVUy9AWKfbuMC0qWEW5D9p_cfpZE24; expires=Fri, 06-Jul-2012 16:04:50 GMT; path=/;; HttpOnly
DEBUG: | P3p: CP="This is not a P3P policy! See for more info."
DEBUG: | Server: gws
DEBUG: | X-xss-protection: 1; mode=block
DEBUG: | X-frame-options: SAMEORIGIN
DEBUG: | Transfer-encoding: chunked
DEBUG: Writing to STDOUT,
OK: Job complete


It looks like Google has changed the way their client queries pagerank. You used to be able to get pagerank from<HASH>&features=Rank&q=info:<URL>

You could calculate the hash using this code which was available on the internet. I'll have to have a look out if there's a new way of obtaining pagerank.



while looking on page_rankr, I found they were calling another URI:

A change occured in early October '11; maybe it's related.

Anyway,<HASH>&features=Rank&q=info:<URL> should be replaced with<HASH>&features=Rank&q=info:<URL> (also works in HTTPS).

I submit you a pull request.

@oncletom oncletom closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.