From: Vitor Peres Date: 2007-12-06T03:46:17+09:00 Subject: Re: Need to parse a HTML table into an Array/hash ------=_Part_2216_27698116.1196880380044 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I should say, even if a bit late, that Yahoo! Finance provides data in CSV format -- you can specify a start and end date, and it gives you the closings for each day in the range. It's easier than screen scraping. Historical data can be obtained with the following URL: http://ichart.finance.yahoo.com/table.csv?&s=[quote name]&a=[start month]&b=[start_day]&c=[start_year]&d=[end_month]&e=[end_day]&f=[end_year]&g=d&ignore=.csv Substitute each bracketed info with the corresponding number. Leave the brackts out, of course. You can get data for the current quote in: http://finance.yahoo.com/d/quotes.csv?s=[quote name]&f=sl1d1t1c1ohgv&e=.csv Just put in the name of the thingie and you'll be fine. -Vitor ------=_Part_2216_27698116.1196880380044--