思為網絡Google PR查詢接口恢復正常--Google PR最新查詢接口
思為網絡站長工具提供網站google pagerank在線查詢:
http://www.bbsy0.cn/tool/google_page_rank/
最新的查詢接口:http://toolbarqueries.google.com/tbr?client=navclient-auto&ch={gchecksum}&features=Rank&q=info:{url|encode}
見本站:http://toolbarqueries.google.com/tbr?client=navclient-auto&features=Rank&ch=***&q=info:域名
關鍵是取得{gchecksum},
python取&ch的值:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
GPR_HASH_SEED =
"Mining PageRank is AGAINST GOOGLE'S TERMS OF SERVICE. Y
es, I'm talking to you, scammer."
def google_hash(value):
magic = 0x1020345
for i in xrange(len(value)):
magic ^= ord(GPR_HASH_SEED[i % len(GPR_HASH_SEED)]) ^ ord(value[i])
magic = (magic >> 23 | magic << 9) & 0xFFFFFFFF
return "8%08x" % (magic)
print(google_hash("www.bbsy0.cn"))
思為網絡騰訊企業微博,請關注我們: