Google PageRank query

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Google PageRank query

Post by miro_igov »

Does anyone know how can I extract the Google PageRank for a given URL ? It seems there is no API for this. Any ideas?
User avatar
iknownothing
Forum Contributor
Posts: 337
Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia

Post by iknownothing »

User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

SEOQuake (a Firefox add-on) is what I use for determining PageRank and all. Very handy tool. They advertise a bit on it, but not annoyingly so.
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

@Superdiz: Thanks, but i'm trying to create Web Tool which displays some stats when user enters a domain and one of the values is the PR. So i need to extract it somehow.

@iknownothing: this post is too old and most of the links in it are not working. Also google changes the checksum algorithm periodically so i do not believe such a hack will be useful
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

miro_igov wrote:@Superdiz: Thanks, but i'm trying to create Web Tool which displays some stats when user enters a domain and one of the values is the PR. So i need to extract it somehow.
Get SEOQuake and look at the way that they get the PR. They have to get it FROM Google.
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

How to see what they do?!?! It is binary.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

packet sniffing?
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

I do not understand much of packets analyzing. Any other ideas?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Other ideas? -_-

You're saying it as though it's a simple task. If your searches didn't turn up any results, then there is, likely, no 'simple' way to do it. So far, I've only seen it done through browser toolbars and external software.

SEOQuake produces a URL for their PageRank queries, but the URL has a special ID per-query, and I've no idea how it's generated.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

That sounds pretty close to what you are looking for:
http://www.tapouillo.com/firefox_extension/
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

VladSun wrote:That sounds pretty close to what you are looking for:
http://www.tapouillo.com/firefox_extension/
Whoa, interesting.

If the source code given by that link does, indeed, generate this ID, then the syntax for the URL (for SEOQuake, at least) is:

http://toolbarqueries.google.com/search ... &hl=en&ch=[UNIQUE-ID]&ie=UTF-8&oe=UTF-8&features=Rank&q=info:[WEBSITE-URL]

Minus the brackets.
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

The UNIQUE-ID is hash calculated somehow with a key which only google knows, maybe some people have extracted that key but google changes it frequently.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

miro_igov wrote:The UNIQUE-ID is hash calculated somehow with a key which only google knows, maybe some people have extracted that key but google changes it frequently.
Did you try out the source? I doubt SEOQuake has to get the key from Google over and over.
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

No, SEOQuake is too complex to me, it's file is binary and the packet sniffing is not my area of experience.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

miro_igov wrote:No, SEOQuake is too complex to me, it's file is binary and the packet sniffing is not my area of experience.
No no, the source on the page that VladSun pointed out. It actually has a PHP script that looks to be able to generate the unique id using the URL.
Post Reply