Retrieving content from JavaScript created web tables?
I am developing a simple Java program that is to browse a particular site, follow links and download web page content (which is created dynamically based on day and sports selected) from which data enclosed in <table>....</table> tags is later parsed and used in Excel spreadsheet for later analysis.
The idea is to collect sports betting odds from Internet sportsbooks and of course such content is created dynamically based on day's offer of sports events!
It can be done when the web tables are created dynamically with ASP or PHP as it basically just feed you the web page with all the data still enclosed in standard HTML tables tags.
However there are quite a number of sites that use Javascript to create such dynamic tables. SO MY QUESTION IS: IS THERE A WAY TO GATHER SUCH JAVASCRIP CREATED WEB DATA IN JAVA?
Thanks in advance!
[880 byte] By [
Riorina] at [2007-10-3 8:06:32]

One more thing occured to me as a possible solution but I don't know if it can be done?
Those particular JavaScript generated web pages that I'm trying to retrieve contents from display data in html tables created depending on the user input!
Appart from zillion fancy design functions, those pages create a loooooong string which basically represents html <table>.....</table> structure and all the rows and cells are constructed by calling multiple JavaScript functions and filling those tables with variables contained in arrays located in several *.js files.
So my idea is, CAN YOU CATCH THAT FINAL GENERATED HTML, that is used to view the web page in a browser?
> So my idea is, CAN YOU CATCH THAT FINAL GENERATED HTML, that is used to view the web page in a browser?
SOMEONE SHOULD GENERATE FINAL HTML. IF NOBODY GENERATE HTML THERE IS NOTHING TO CATCH. YOU SHOULD EXECUTE JS BY YOUSELF OR USE EXISTING SOLUTION (LIBRARY OR BROWSER API IF ANY).
AND PLEASE - TURN OFF CAPSLOCK.
This text is more readable then THIS TEXT BLAH BLAH BLAH. Thanks.
Thanks for the replies Michael Nazarov!I'm not a programmer and I'm sorry if the answers to these questions are simple or obvious! I have some ideas, primarily statistical, about using data retrieved from the web, but retrieving the data is my major obstacle!