Solved

Delphi extracting data from web

Posted on 2000-03-23
6
172 Views
Last Modified: 2010-04-04
Hi all,
Is it possible to open a web page (in background) and get data from it, and how?
0
Comment
Question by:Gurkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 2648197
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
 
LVL 13

Expert Comment

by:Epsylon
ID: 2648204
The httptst demo shows perfectly how you can get webpages.
0
 
LVL 1

Expert Comment

by:XAN
ID: 2648250
yes, it is possible. you can find excelent example on http://www.euromind.com/ieDelphi (UILess)

With the best regards,
XAN
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
cAkk earned 100 total points
ID: 2651902
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
 

Author Comment

by:Gurkan
ID: 2654892
Thx 4 all, but I have no time 2 make a parser, do u know free parsers.
0
 

Author Comment

by:Gurkan
ID: 2680063
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question