I am new to ruby; having a lot of fun, but currently I am stuck with the
following.
I want to read this page
http://finance.yahoo.com/q/op?s=AAPL&k=95.00&m=2007-12
Into an array or hash.
I found the gem yahoo-finance; but that does not what I need.
I need to find the Symbol for (in this example)
AAPL call option strike 95 Dec-07.
I am able to read the page:
conn = open("http://finance.yahoo.com/q/op?s=AAPL&m=2008-04")
lines = conn.read
The main question is how to I parse the table which is in the middle of
the HTML.
Any help is appreciated!!
--
Posted via http://www.ruby-forum.com/.