Extracting data from HTML

Craig

Well-known member
Joined
Oct 15, 2005
Messages
110
Location
United Kingdom
Programming Experience
Beginner
Could anyone provide me some info on how to extract data from a web page

For example, say I want a program that will check stocks from www.nasdaq.com

I need the program to be able to extract the section with:

NASDAQ 2249.72 -17.74
redarrowsmall.gif
0.78%
DJIA
10972.28 -33.46
redarrowsmall.gif
0.30%
S&P 500 1272.23 -6.24
redarrowsmall.gif
0.49%

etc etc

and then be able to place them into their own labels

Any help will be appreciated!
 
Ok i saw your thread couple hours ago but i didn't answer cuz i thought it doesn't make much sense as you have to know the tags where the wanted elements are in order to get the content.
This LINK will show you how to get the HTML content of certain document/page but anyway you have to know the names of tags/elements that you are looking for if you want to take up only those content showed above.

HTH
Regards ;)
 
Back
Top