cricket action on twitter

November 25th, 2007 by taggy
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 3 out of 5)
Loading ... Loading ...




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 .

  • Login to your twitter account at http://twitter.com
  • go to http://twitter.com/meninblue and choose the follow option
  • or if you are logged in to your gmail,gtalk then give ” Follow meninbue” command and you should be receiving my updates
  • And yes if you want to have the scores on your mob ,then dont forget to give out the phone details in the account section :-)

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

Posted in sports, Technology |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.