Re: URL Programming
From: Josh Sebastian (curien_at_cox.net)
Date: 11/05/03
- Previous message: jeff: "Network share Windows creation C or C++"
- In reply to: Pradnya Rodge: "URL Programming"
- Next in thread: Cedric LEMAIRE: "Re: URL Programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 04 Nov 2003 19:24:49 -0500
On Tue, 04 Nov 2003 11:54:40 -0800, Pradnya Rodge wrote:
> Hello All,
> I need to write a program which interacts with a search site. It can
> be divided into two parts.
> Part1: I am given a list of words (in a text file) that I need to
> search in a search site. I need to extract a word from the text file,
> modify the URL according to the word and then insert it in a browser
> and search.
> Part2: When the search is done I direct the output to a text file.
> I dont have any web programming experience so if anybody can help me
> with this it would be of great help.
> Thank You
Forget the "insert it in a browser" bit. All a browser is is a program
that sends HTTP requests, gets responses, and displays the response
prettily. You can do the same thing: submit an HTTP request, get the
response, and then format and display the "interesting" data in the
response.
Most search engines utilize the querystring from a GET request to receive
the search criteria. Experiment with the search engine you want to use (or
read the doc, if available), and figure out how to construct the
querystring yourself.
Figure out the format of the response from the search engine, and devise
an algorithm to extract the interesting data from that response.
This isn't "web programming", btw.
Josh
- Previous message: jeff: "Network share Windows creation C or C++"
- In reply to: Pradnya Rodge: "URL Programming"
- Next in thread: Cedric LEMAIRE: "Re: URL Programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|