Get the Cricket score on Linux Command Line or Conky

Sachin smiling
Image via Wikipedia

I was trying to find a way to get live cricket scores on my desktop. I could have used retreived rss feeds every few minutes, but I found a simpler way on a mailing list Here, a python script by Sridhar.

I modified it a bit to fit my horizontal conky, and also the display format.

Click on image to see complete screenshot:

Download cricscore.py
and place it in your home folder.

To get the live score in the terminal, just type

python cricscore.py

If you want it to show in conky, just add this line to your .conkyrc file where you want it to show

${execi 30 python cricscore.py}

that will update the score every 30 seconds

Anyway, heres my .conkyrc script: .conkyrc. (for the rhythmbox script, check here)

Reblog this post [with Zemanta]
  1. Thanks a LOT… Really helpful.Find more such conky tools now :p

  2. This is really nice. Now all I need is something similar for tennis, then I’ll be all set.

  3. @sykora: do some more python magic :P

  4. Nice tool !!! you can add a loop in the script so that it will show a continues output.

    • Prashant Zaveri
    • February 25th, 2009

    Thanks, Its really cool to get live score on terminal :)

    Do keep posting such cool stuff.

    Prashant

  5. l1=West Indies vs India
    l2=West Indies
    interval=1
    message=Toss: India elected to bat
    tagline=
    date=26 June, 2009
    ver=19

    This what the link gives you , when the first of the game is over and the second is yet to start

  6. How to know if its second half or first half and how to know the total chasing if it’s the second half

    • Monty
    • October 19th, 2009

    awesome post dude i just love it .waiting for today evenings match to test

  1. January 31st, 2009