Friday, January 4, 2013

Cricket score from command line using curl and wget

rediff.com provides the latest cricket score in the url

http://livechat.rediff.com/sports/score/score.txt

Just access the above url from command line as follows, using either curl or wget

  • curl -s http://livechat.rediff.com/sports/score/score.txt


  •  wget --quiet -O - http://livechat.rediff.com/sports/score/score.txt

No comments:

Post a Comment