I previously built a scraper that hits the [url removed, login to view] website and searches for businesses listed on the site in their search pages at [url removed, login to view]
The searches are broken into 6 sections, organized by business type. On each page is a zip code field that when entered pulls up a google map with those business marked on the map. These maps use XML files to pull in the location data.
WHAT I NEED:
I need a new scraper that will access these XML files directly, and pull the data out, then insert it into a single table in a mySQL database, with a 'businessType' field that contains the type of business, either 'Dealers', 'Registration Services', 'Dismantlers', 'Rentals', 'Leasing' or 'Salvage'. This PHP scraper should be able to be executed from the command line, with some type of feedback when pulling data from the xml.
Below are the direct links to the XML files used by Google maps. These are the files where the data pulled from:
[url removed, login to view] 'Dealers'
[url removed, login to view] 'Registration'
[url removed, login to view] 'Salvage' and 'Dismantlers'
[url removed, login to view] 'Rentals' and 'Leasing'