Get Page Rank Script

I’ve added a new entry to my miniprojects page, the getpageranks script (written in Perl) allows you to pass in a file containing URL’s, one to a line with whitespace and comments allowed. Each entry in the file will then be checked with Google and the PageRank will be displayed.

Note: If an invalid URL is given the PageRank will be returned as zero, this makes it very difficult to determine which sites are invalid and which are just unpopular. Although you may consider them equivalent ;)

The getpageranks script itself is very short and should be easy to follow. For full usage instructions run the command with either -h or -u.