🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1550

Re: Download web page as source text

#1550
From: Hans Galema
Date: Thu, 09 Sep 2004 08:54
14 lines
1660 bytes
LarryJ wrote:

> I am trying to create a stock quote downloader.  Is possible to download a
> web page just as the source text. For example when you select View->Source
> and all the HTML is shown in a text file. Can we download just this text
> file of source. There are a lot of internet components in BCB6.0 which would
> be the best to do this?

If you only want the page to parse it or so then a HTTP component will
do. If you also want to display the page then TCppWebbrowser will
display the page. After that you need code to get the page from
TCppWebbrowser. That code has been published many times in this group.

Hans.
Technical Details
Message-ID: <41401985$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!wn13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <414008e5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b38b86f436803567
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 09 Sep 2004 10:54:10 +0200
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: Download web page as source text
References: <414008e5@newsgroups.borland.com>
In-Reply-To: <414008e5@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41401985$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094719877 129.125.201.248 (9 Sep 2004 01:51:17 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!wn13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail