Any idea how to scrape city information?

Shun Yamada
2 replies
Hey guys! I'm working on a location application which users can choose the city where they live. Do you have any good ideas or source to get all the cities information?

Replies

chandu aa
1. You can scape city names from webpage like https://www.britannica.com/topic... Use jquery code like below: cities = $("div > a.md-crosslink").map(function(){ return $(this).text();}).get().join(',') 2. OR use google places autocomplete? https://developers.google.com/pl...