updated on May 18th
thanks to Draknek who pointed me to this page which doesn’t require signing in and have more comprehensive stats. i have updated the script and now there is no need to provide a password. page fetching part was rewritten using only built-in ruby methods so mechanize gem isn’t needed as well.
some examples to demonstrate how it works:
get this script on github: https://gist.github.com/975928