|
-
Feb 17th, 2012, 03:58 PM
#1
Thread Starter
New Member
Getting text from webbrowser when page has no html tags
Okay. So the problem I have is that im using a webbrowser to open a webpage, and then put the text from the page into a string. Next I check to see if the string contains certain keywords.
All of which has almost always worked just fine the way im doing it. I have come across a webpage that when I load it up in the browser, and try to get the text it returns as a blank string. Same result when trying a webrequest.
I noticed the source of the page is not structure like an html document. The whole this is just wrapped in <pre> tags.
My question is could the document currently in the browser not being proper html cause me to get nothing from retrieving the documents text?
Sorry for no code examples I do not have access to the vs on this computer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|