is it possible to scrape all the text from a site that was navigated to by webbrowser control without looking at the source?
+3
A:
You use the DocumentText
property or the WebBrowser control.
This property is what holds the HTML of the site you have navigated to.
Update: (following comments)
If you want to parse the HTML and get the text parts of it, I suggest you use the HTML Agility Pack.
Oded
2010-04-14 12:15:31
oded, i do not want to look at the html, i only want to look at the text that the user sees
I__
2010-04-14 12:20:41
no i dont want to parse the html, i just want the same result as if you hit ctrl A and copy and paste all the text
I__
2010-04-14 12:25:22
Um. That's what you will get by _parsing_ the HTML.
Oded
2010-04-14 12:30:38
is there any easier way?
I__
2010-04-14 12:31:35
Nothing I can think of.
Oded
2010-04-14 13:16:04