-
May 13th, 2020, 02:06 PM
#1
Thread Starter
Hyperactive Member
Read content of simple webpage into textbox
Hello,
I want to read content of webpage (NOT SOURCE CODE) into textbox that contains text lines -
grgr
200011iii
But, I am getting only source code mixed with text data. All approaches I have tried extracting source code also or link must be TXT file. I want to have link such as www.vbforums.com/forums/ and I want to get the raw data (text inside) into textbox.
Please dont forget to add good reputation if my advices were useful for you.
How? Under this post there is "RATE THIS POST" button. Click on it.
-
May 13th, 2020, 04:07 PM
#2
Re: Read content of simple webpage into textbox
Originally Posted by VB.NET Developer
Hello,
I want to read content of webpage (NOT SOURCE CODE) into textbox that contains text lines -
grgr
200011iii
But, I am getting only source code mixed with text data. All approaches I have tried extracting source code also or link must be TXT file. I want to have link such as www.vbforums.com/forums/ and I want to get the raw data (text inside) into textbox.
What exactly do you mean by "content of webpage"? If you mean just the text then you would need to parse out the text from the HTML source.
-
May 13th, 2020, 08:21 PM
#3
Re: Read content of simple webpage into textbox
A web page IS HTML. You are presumably talking about what you see in a web browser but that is the output of the browser application after parsing the HTML input. If you want that same output then you need to parse the same input in the same way. You can't magically get the output from an application; you need to use that application or do what that application does.
-
May 14th, 2020, 03:35 AM
#4
Re: Read content of simple webpage into textbox
Hello,
I am wondering if taking an image of the page and doing an OCR on it would do the Job?
Regards
The best friend of any programmer is a search engine
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
May 14th, 2020, 03:55 AM
#5
Re: Read content of simple webpage into textbox
Originally Posted by Delaney
Hello,
I am wondering if taking an image of the page and doing an OCR on it would do the Job?
Regards
Interesting idea. Extremely kludgy but interesting nonetheless.
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
|