Research on obtaining the value of google pagerank

Source: Internet
Author: User
Tags windows 5
Today, I saw a website providing the google pagerank value display function on the Internet. I heard that google has canceled the public pagerank display.
It was obtained only through ie google toolbar, so I thought it was quite interesting. I went to study it.

I mounted the google toolbar and grabbed the socket package and got the following information:
GET/search? Client = navclient-auto & googleip = O; 3812 & ch = 62544423920 & freshness_check =
4x0lthsxrjwr7cbsibnl8 & ie = UTF-8 & oe = UTF-8 & features = Rank & q = info:
Http % 3A % 2F % 2 Fblog % 2 Eiyi % 2Ecn % 2 Fdavid % 2F HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; GoogleToolbar 2.0.114.9-big; Windows 5.2)
Host: toolbarqueries.google.com
Cache-Control: no-cache
Cookie:
PREF = ID = 3e46a681346bcce2: NW = 1: TM = 1099618786: LM = 1104831026: TB = 2: S = 8oMV8rWWHE07ngDp

After testing, we found that only the information after GET is important to the host, and other information can be filled in at will.
The important information is the following:

Client = navclient-auto &
Ch = 0123456789 &
Features = Rank &
Q = info: http % 3A % 2F % 2 Fblog % 2 Eiyi % 2Ecn % 2 Fdavid % 2F

Client = navclient-auto indicates that the client is google toolbar. If this parameter is not set, the result is in google.
Search results for this URL
Ch = 0123456789 is the checksum value. The key is that google converts each URL using a special algorithm to obtain this
Checksum, google relies on this to "Encrypt" its pagerank. If you know this algorithm, obtain pagerank
It's easy.

Features = Rank gets the pagerank value. The result is Rank_1: 1: 1. The last one is the pagerank value, as shown in figure
If you ignore this parameter, you will get the xml of the detailed information about the webpage in google. What I get is the following information:

<? Xml version = "1.0" encoding = "GB2312" standalone = "no"?>
<! Doctype gsp (View Source for full doctype...)>
-<Gsp ver = "3.2">
& Lt; TM & gt; 0.124300 & lt;/TM & gt;
<Q> info: http://blog.iyi.cn/david/ </Q>
<PARAM name = "client" value = "navclient-auto" original_value = "navclient-auto"/>
<PARAM name = "googleip" value = "O; 907" original_value = "O; 907"/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.