Ruby script for parsing text on a web site