Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | | #ludumdare on irc.afternet.org (Info)

Ludum Dare 29 — April 25th-28th Weekend [9 PM EST] — Theme: ??? (Slaughter Ends Soon!)
  • Ludum Dare 29 Compo (48 Hour+Solo+Scratch+Src) Begins: in 7 days, 16 hours, 48 minutes, 59 seconds
  • Ludum Dare 29 Jam (72 Hour+Teams OK+Relaxed) Begins: in 7 days, 16 hours, 49 minutes, 0 seconds
  • [ MiniLD 50 | Warmup Weekend April 19th-20th | Real World Gatherings | Ludum Deals | Wallpaper ]


    Script to get number of votes and coolness!

    Posted by (twitter: @haqu)
    May 16th, 2011 9:28 pm

    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:

    ld20stats.rb example 1

    ld20stats.rb example 2

    get this script on github: https://gist.github.com/975928

    enjoy! :)

    4 Responses to “Script to get number of votes and coolness!”

    1. Draknek says:

      This page shows all the entries and vote-counts without needing you to log in: http://www.ludumdare.com/compo/ludum-dare-20/?action=misc_links

    2. haqu says:

      thanks Draknek, I didn’t know about this page. it makes things much easier.

      original post has been updated.

    3. TellusE says:

      Thanks, dude. I was writing up a small XML parser to do the dirty work, and now I don’t have to!

      Long live laziness :D

    Leave a Reply

    You must be logged in to post a comment.


    All posts, images, and comments are owned by their creators.

    [cache: storing page]