首页 » ASP代码 » 自己做个用asp查询Google PR的代码

自己做个用asp查询Google PR的代码

你可以发现标题不对,没关系,主要是方便我或别人搜索到,自己能看懂就行。
看到很多网站能在线查询google pr值,自己也想做个,其实很简单的。
先安装一个 IE HTTPAnalyzer 这个是IE抓包工具,反正我喜欢,英文版的。
打开 http://tool.chinaz.com/Ranks/ 然后在ie上启用这个工具,点下Clear把嗅探到的包删了。输入我们要查的域名suntw.com然后点查询,你会看到该工具已经抓到很多链接了,他是通过网卡来抓的,所以什么交换信息都能抓到,点击某个链接可以查看post包和收发的http头。
我们发现有以下几行:

这就是需要的链接了,直接访问他吧,比如:

http://64.233.179.115/search?client=navclient-auto&ch=62489085172&ie=UTF-8&oe=UTF-8&features=Rank:FVN&q=info:http://suntw.com/

就可以返回结果,至于他内部怎么算的或调用的哪里我就没办法了。我们只管程序中通过xmlhttp去取这些信息就行啦。

, ,

转发到新浪微博 转发到新浪微博

目前这篇文章有3条评论(Rss)

  1. gps moto | #1
    05/16/2012 at 12:26

    Hiya, I am really glad I have found this information. Nowadays bloggers publish only about gossips and net and this is actually frustrating. A good blog with interesting content, this is what I need. Thanks for keeping this site, I’ll be visiting it. Do you do newsletters? Cant find it.

  2. hotel valmontone | #2
    05/16/2012 at 12:37

    Awsome article and right to the point. I am not sure if this is actually the best place to ask but do you people have any ideea where to get some professional writers? Thanks :)

  3. dizi download | #3
    05/16/2012 at 13:00

    Good publish admin! i bookmarked your net weblog. i’ll look forward in the event you may have an e-mail record including.

我要评论

上一篇:

下一篇: