Web spider written in ruby