Hacking Tour de France Updates with Ruby

I’m going to miss the Tour de France coverage tomorrow because I’ll be
on a plane up to Portland for the day. Normally I would catch the race
on OLN.tv or on the "Live Tour" page
at the official tour web site. The "Live Tour" page is pretty slick and
provides updates every few minutes during the race, but that doesn’t
help me when I don’t have web access. Hmmm….

I threw together a Ruby script last week when I took a similiar trip. It scrapes
the Live Tour page for a given stage, looks for new news updates, and
sends them to my cell phone. Use at your own risk – you’ll get LOTS of text messages during the race. This is definitely a one-off implementation.

Download letour.rb.txt

Advertisements