Archive

Posts Tagged ‘found result’

Simple Grabbing Program

July 20th, 2009 Comments off

Whe are in need for a simple program that can read data from a website and grab this into a a file.
The example website is: http://www.ilocal.nl This is a online phonebook.

When I for example search for “aannemers” within “nederland” (this means I want to search for contractors within the Netherlands, the website provides the following link that shows all found results.
http://www.ilocal.nl/search?what=Aannemers
Here you can see that there are 17.142 results found in this case.

I need the program to do the following.
- I want to input the result url into the program
A found result is displayed as followed:
(for this example I have used the first found result.

Aannemersbedrijf Procee
Greate Buorren 6, 9262 SB Sumar

Rubriek: Aannemers

meer info | telefoon (gratis) 0511-461222 | e-mail | website | route | voeg toe aan – nieuw

I want to program to create a file and display all found results displayed one complete result per page.

1) Company name
2) Address
3) Phonenumer
4) Emailaddress
5) Rubriek

The emailaddress and phonenumber is can be gotten by the links just under the found result.
There is the option for the phonnumber and emailaddress shown in green.

After all results are grabbed whe want the same or otherwise another small program to check the output file for duplicates and remove these.

Bear