Google pagerank api returns 403 to some urls

Google APIs Call Pagerank URLs. in this example, "spiegel.de" works:

http://toolbarqueries.google.com/tbr?client=navclient-auto&features=Rank&q=info%3Aspiegel.de&num=100&filter=0&ch=79909496714

Trying to use a different "hotpress.com" URL, all other parameters are untouched, showing a 403 error page!

http://toolbarqueries.google.com/tbr?client=navclient-auto&features=Rank&q=info%3Ahotpress.com&num=100&filter=0&ch=79909496714

Why?

+4
source share
3 answers

You need to calculate the hash correctly, I use the code from this place:

https://web.archive.org/web/20150223091918/http://99webtools.com/blog/php-script-to-get-pagerank

What I adapted a little to get PR information for my project in the search engine. There are also several other scripts there if you are just Google.

+1
source

Google returns an error because the URL q value is checked against the hash / checksum value ch .

You need to calculate the hash / checksum ch for each q request.

I don’t know which hash algorithm Google uses here, but the Internet believes that it may be Jenkins or some of its versions.

0
source

Now Google has stopped Pagerank at this URL http://toolbarqueries.google.com/tbr .... Find out some other way.

0
source

Source: https://habr.com/ru/post/1483878/


All Articles