Given below is a sample list of addresses for which we will scrape geo location coordinates from Google Maps using WebHarvy as shown in the above video. Note that these addresses do not include special characters like comma, hyphen or semicolon. In case you wish to have commas or other special characters within address text, then each address should be enclosed within quotes. (Ex : “6657 PEDEN RD, FT WORTH, TX”)
6657 PEDEN RD FT WORTH TX
17425 DALLAS PKWY DALLAS TX
12121 COIT RD DALLAS TX
9100 WATERFORD CENTRE BLVD AUSTIN TX
13223 CHAMPIONS CENTRE DR HOUSTON TX
1221 N WATSON RD ARLINGTON TX
5313 CARNABY ST IRVING TX
To scrape Google Maps location coordinates of these addresses, load the following URL within WebHarvy’s configuration browser.
https://www.google.com/maps/place/6657 PEDEN RD FT WORTH TX
Note that the first address (6657 PEDEN RD FT WORTH TX) in the list of addresses is used ‘as-it-is’ in the above URL. Once this URL is loaded in WebHarvy’s browser view, Start Configuration. Then, edit the Start URL of the configuration and paste the same URL which we loaded (https://www.google.com/maps/place/6657 PEDEN RD FT WORTH TX).
Now we can add keywords to the configuration. Keywords in this case are the list of addresses. It is important to note that the first keyword in the list which we add, should be same as the one used in the Start URL. Since we are selecting only a single row of data from each page, we can disable pattern detection.
The latitude/longitude values are selected from the entire page HTML using regular expressions. To get the entire page HTML, click anywhere on the page and then double click on the Capture HTML toolbar button in the resulting Capture window displayed.
The regular expression strings used to get latitude and longitude values are given below.
If you are new to WebHarvy we recommended that you download and try using the free evaluation version available in our website. To get started please follow the link below.
In case you have any questions please feel free to contact our technical support team.