• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Delphi extracting data from web

Hi all,
Is it possible to open a web page (in background) and get data from it, and how?
0
Gurkan
Asked:
Gurkan
1 Solution
 
EpsylonCommented:
Sure, download the HttpCli component from:

http://www.rtfm.be/fpiette/httpcliuk.htm

It has good examples. However you have to parse the returned html code yourself.
0
 
EpsylonCommented:
The httptst demo shows perfectly how you can get webpages.
0
 
XANCommented:
yes, it is possible. you can find excelent example on http://www.euromind.com/ieDelphi (UILess)

With the best regards,
XAN
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
cAkkCommented:
just drag a TNMhttp component to your form, and add following code:

var
  txt:string;
begin
  nmhttp1.get('http://www.xxx.com');
  txt:=nmhttp1.body;
end;
0
 
GurkanAuthor Commented:
Thx 4 all, but I have no time 2 make a parser, do u know free parsers.
0
 
GurkanAuthor Commented:
Since my knowledge in this subject is very little, the best answer is the one with least code. Points go to cAkk.

cAkk pose ur comment as answer n I'll accept.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now