Search code examples
web-scrapingmapsscreen-scraping

How do I screen scrape google Maps places?


I have this map, https://maps.google.com/maps/ms?msa=0&msid=211195694269703855460.0004a7072cf25d4660761&ie=UTF8&ll=41.40205,2.157927&spn=0.103847,0.133132&source=embed

I would like to download all the locations and copy them into a db

where can i find the JSON?

does anyone know how to do this?


Solution

  • You can click the share icon and download the map as a KML file. Then you'll get all the locations in an XML file you can parse and add to a database.

    enter image description here