I am trying to screen scrape Yahoo Finance for stock market data. I
am using Ruby Watir and IE. Yahoo Finance has a button labeled
'Streaming Quotes' with an 'ON' 'OFF' image that you click on to turn
streaming quotes on and off.
The problem is that Ruby is not able to fully load the page and
continue unless Streaming Quotes is turned OFF. I click manually on
'OFF' but Streaming Quotes will only stay 'OFF' for a few minutes
before defaulting back to 'ON'.
I have tried a bunch of things to try to identify the OFF/ON state and
turn streaming quotes OFF, but I can't get it to work.
Any suggestions? The two things I need to do are to (1) identify if
Streaming Quotes are ON, and (2) Turn Streaming Quotes OFF if it is
ON.
An example link is:
http://finance.yahoo.com/q?s=GOOG
Thank you,
Robert
Albuquerque, NM