cricket action on twitter
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 !
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 .
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
[...] 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 [...]
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 ??

Iam Theyagarajan S ( 'taggy') . to know more ,head out to

[...] 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? [...]