Image 01 Image 02

cricket action on twitter

Posted on 24th November 2007 by Taggy
6

Twitter was always fun and now iam starting to do some things with it .

Inspired from Myles ,but his work was in ruby and i dont know much of it and iam lot comfortable with python .

so here is how you can get all the cricket updates of india matches right on your mobile when you are out roaming or on your gtalk while the cricket sites are banned in office .

And i must warn you ,this script runs every 2 min so incase you dont want to be spammed ,follow only when you are comfortable with it !

http://twitter.com/meninblue

and thanks to sp2hari for helping out with html parsing and 2s for telling me about XPATH ,i figured out html parsing is lot tougher than XPATH and would definitely recommend it more than html parsers !.

And yes ,dont be surprised if some posts are truncated ,twitter allows only 140 chars and so i had to truncate the commentary else, it wont get posted !

PS:the libraries used are twitter,urllib,urllib2,sgmlib and XPATH ,source code will be up here soon,or if u want it then mail me at theyaga@gmail.com. will mail u the code

UPDATE: The feed and scores were taken from Plusmo services .

Z Plusmo2 Icon



6
Responses to.. cricket action on twitter

[...] Taggy’s cricket update bot, which is out yesterday, inspired me to look at the Twitter APIs. I mean, what better way to spend a Sunday morning juggling a India-Pak test match, and trying out some some new API, with yesterday’s pizza leftovers to keep me company? [...]



Twitter bot for yahoo - It’s My Life posted on January 30th 2008

[...] my previous attempt at making a twitter bot resulted with a decent liking from people ,i thought i would hack up [...]



[...] my previous attempt at making a twitter bot resulted with a decent liking from people ,i thought i would hack up [...]



Indian Premier League posted on February 2nd 2008

Twitter is great. I’ll follow this for updates.



Rajavanya posted on March 26th 2008

I landed up here googling with the same idea in mind.
Your Bot seems to be down.

Which site do you take the score from ??



Rajavanya posted on March 26th 2008

BTW great to find some1 frm Trichy on the blogosphere and ur blog is cool.. subscribing right away



Leave a reply...