Hi all,
ive googled all morning and not really found a good response to this question (though I may have just not formed a good google search string).
I am trying to do a simple scrape of
www.nyse.com for the % change in a stock price. Nothing fancy, just a simple data scrape for a single piece of info. However I am having a problem I have not run into before. the nyse.com page that lists the stock info on a company uses extensive javascript to write out the data, and I have no clue on how to handle it!
Curl returns the page source, but unparsed, so it is a bunch of javascript. Firefox viewing the page source does the same thing. But if i highlight just what i am interested in and "View Selection Source", I can see the data I am looking for.
This makes me think that perhaps I need to have the page parsed first, perhaps with an intermediate page(?) and then output the data somewhere for me to read.
Before I delve into this rather unslightly hack, I was wondering if anyone had a response to doing this a bit easier? Is there a switch I am missing somewhere in Curl for instance that would do this for me?
TIA ( as usual )
pld