Article View: borland.public.cppbuilder.internet.socket
Article #3079Re: Indy TdHTTP and Javascript
From: Metro
Date: Wed, 16 Nov 2005 08:03
Date: Wed, 16 Nov 2005 08:03
27 lines
1953 bytes
1953 bytes
Never grabbed the source from a generated page before, well not a javascripted one how would i go about it ? remember i dont want to get the javascript more the finished page after the javascript has executed. "Don" <blacknapkin@twistandfruge.com> wrote in message news:437ac0e3$1@newsgroups.borland.com... > >I would like to know if its possible for TdHttp to get a web page > >containing javascript... > > Yes, just like any other resource with a URL. > >> will it run the script ? > > No. In Indy, TIdHTTP is just an HTTP transport. For that you need an > HTML parser and a Javascript engine... both are outside the scope of Indy. > >> then pass on the actual html generated from the javascript ? > > Why not use TWebBrowser... it has that capability already. > >> If not how do you grab the source of the page generated from the >> javascript ? > > See above... > > hth... >
Technical Details
Message-ID:
<437ae7a5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<437a505e$1@newsgroups.borland.com> <437ac0e3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3132ea3b7f1c34d5 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Metro" <metro9999@lycos.co.uk.nospam> Newsgroups: borland.public.cppbuilder.internet.socket References: <437a505e$1@newsgroups.borland.com> <437ac0e3$1@newsgroups.borland.com> Subject: Re: Indy TdHTTP and Javascript Date: Wed, 16 Nov 2005 08:03:30 -0000 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 82.45.17.56 Message-ID: <437ae7a5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132128165 82.45.17.56 (16 Nov 2005 00:02:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail