From: Bil Kleb Date: 2006-12-18T00:45:10+09:00 Subject: Grabbing data off a webpage OK, so I haven't done this in years. What's the "modern" way of grabbing the data off a webpage, e.g., http://yorkcountyschools.org/mves/arlist/3-3.4.htm My initial attempt has been focused on Hpricot, require 'rubygems' require 'open-uri' require 'hpricot' doc = Hpricot(open('http://yorkcountyschools.org/mves/arlist/3-3.4.htm')) and I can find doc/"th" and doc/"tr", but what's the best way to cram them into an array of structs or something? Thanks, -- Bil Kleb http://funit.rubyforge.org